MantisBT - GCC-XML | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0013372 | GCC-XML | (No Category) | public | 2012-07-03 09:22 | 2012-07-26 10:36 | |||||
| Reporter | Chris Green | |||||||||
| Assigned To | Brad King | |||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | resolved | Resolution | fixed | |||||||
| Platform | x86_64 | OS | Scientific Linux (based on RHEL) | OS Version | 6.1 | |||||
| Summary | 0013372: gccxml cannot parse <limits> under GCC 4.7.1 | |||||||||
| Description | An attempt to parse a header which includes <limits> under GCC 4.7.1 gives the following problem: ------------------------------------------------------------------------ /mnt/disk1/products/gcc/v4_7_1/Linux64bit+2.6-2.12/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/limits:1405: error: '__int128' was not declared in this scope /mnt/disk1/products/gcc/v4_7_1/Linux64bit+2.6-2.12/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/limits:1405: error: template argument 1 is invalid /mnt/disk1/products/gcc/v4_7_1/Linux64bit+2.6-2.12/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/limits:1479: error: template argument 1 is invalid ------------------------------------------------------------------------ | |||||||||
| Steps To Reproduce | Make a file gccxml_test.h containing: ------------------------------------------------------------------------ #include <limits> struct MyClass { int fred; }; ------------------------------------------------------------------------ Attempt to parse with: gccxml gccxml_test.h | |||||||||
| Additional Information | Error can be made to go away by defining __STRICT_ANSI__, but not sure if this causes other problems. Verified with HEAD downloaded 2012/07/02, compiled with GCC 4.7.1. | |||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2012-07-03 09:22 | Chris Green | New Issue | ||||||||
| 2012-07-26 08:02 | Brad King | Relationship added | related to 0012932 | |||||||
| 2012-07-26 10:36 | Brad King | Note Added: 0030128 | ||||||||
| 2012-07-26 10:36 | Brad King | Status | new => resolved | |||||||
| 2012-07-26 10:36 | Brad King | Resolution | open => fixed | |||||||
| 2012-07-26 10:36 | Brad King | Assigned To | => Brad King | |||||||
| Notes | |||||
|
|
|||||
|
|
||||