MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013273 | CMake | CMake | public | 2012-06-05 16:13 | 2012-11-05 14:33 |
| Reporter | Daniel Richard G. | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | PowerPC | OS | AIX | OS Version | 5.3 |
| Product Version | CMake 2.8.8 | ||||
| Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||
| Summary | 0013273: From g++: "sorry: semantics of inline function static data `...' are wrong" in hashtable.hxx | ||||
| Description | I see this warning when building CMake from git nightly with g++ 2.9-aix51-020209 on an AIX 5.3 system: CMake-build/Source/cmsys/hashtable.hxx: In function `const long unsigned int *cmsys::get_stl_prime_list ()': CMake-build/Source/cmsys/hashtable.hxx:399: warning: sorry: semantics of inline function static data `const long unsigned int _stl_prime_list[31]' are wrong (you'll wind up with multiple copies) CMake-build/Source/cmsys/hashtable.hxx:399: warning: you can work around this by removing the initializer (Details at http://open.cdash.org/viewBuildError.php?type=1&buildid=2336790 [^]) This can be fixed by making get_stl_prime_list() a static function, as in the attached patch. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4344/cmake-hashtable-fix.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-06-05 16:13 | Daniel Richard G. | New Issue | |||
| 2012-06-05 16:13 | Daniel Richard G. | File Added: cmake-hashtable-fix.patch | |||
| 2012-06-05 16:24 | Brad King | Note Added: 0029617 | |||
| 2012-06-05 16:24 | Brad King | Assigned To | => Brad King | ||
| 2012-06-05 16:24 | Brad King | Status | new => resolved | ||
| 2012-06-05 16:24 | Brad King | Resolution | open => fixed | ||
| 2012-06-05 16:24 | Brad King | Product Version | => CMake 2.8.8 | ||
| 2012-06-05 16:24 | Brad King | Fixed in Version | => CMake 2.8.9 | ||
| 2012-06-05 16:24 | Brad King | Target Version | => CMake 2.8.9 | ||
| 2012-11-05 14:33 | David Cole | Note Added: 0031444 | |||
| 2012-11-05 14:33 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||