View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013273CMakeCMakepublic2012-06-05 16:132012-11-05 14:33
ReporterDaniel Richard G. 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPowerPCOSAIXOS Version5.3
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0013273: From g++: "sorry: semantics of inline function static data `...' are wrong" in hashtable.hxx
DescriptionI 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.
TagsNo tags attached.
Attached Filespatch file icon cmake-hashtable-fix.patch [^] (496 bytes) 2012-06-05 16:13 [Show Content]

 Relationships

  Notes
(0029617)
Brad King (manager)
2012-06-05 16:24

Applied, thanks:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4f170e25 [^]
(0031444)
David Cole (manager)
2012-11-05 14:33

Closing resolved issues that have not been updated in more than 4 months.

 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


Copyright © 2000 - 2018 MantisBT Team