MantisBT - CMake
View Issue Details
0009122CMakeModulespublic2009-06-08 22:142012-06-25 17:12
Philip Lowman 
Alex Neundorf 
normalminorhave not tried
closedfixed 
CMake-2-6 
 
0009122: Eclipse CDT4 generator fails to determine include path when locale not in English
The Eclipse CDT4 generator may fail to determine the paths of the standard C/C++ include directories when the system locale is not standard English. The culprit is the parsing of an English string, "search starts here", in CMakeFindEclipseCDT4.cmake.
This was reported on the CMake mailing list in the thread [CMake] Problems C/C++ system headers and Eclipse Generator dated Mon, Jun 8, 2009.
No tags attached.
related to 0007585closed Alex Neundorf Eclipse generator does not add C/C++ system header pathpath to 
related to 0013313closed Alex Neundorf [Eclipse CDT] The MinGW include pathentry are not added to the .cproject 
? CMakeFindEclipseCDT4.cmake (2,221) 2009-06-08 22:15
https://public.kitware.com/Bug/file/2306/CMakeFindEclipseCDT4.cmake
? improvedCMakeFindEclipseCDT4.cmake (2,792) 2009-06-11 02:45
https://public.kitware.com/Bug/file/2314/improvedCMakeFindEclipseCDT4.cmake
Issue History
2009-06-08 22:14Philip LowmanNew Issue
2009-06-08 22:14Philip LowmanRelationship addedrelated to 0007585
2009-06-08 22:15Philip LowmanFile Added: CMakeFindEclipseCDT4.cmake
2009-06-08 22:16Philip LowmanNote Added: 0016663
2009-06-09 11:36Bill HoffmanStatusnew => assigned
2009-06-09 11:36Bill HoffmanAssigned To => Alex Neundorf
2009-06-11 02:32Philip LowmanFile Added: improvedCMakeFindEclipseCDT4.cmake
2009-06-11 02:43Philip LowmanFile Deleted: improvedCMakeFindEclipseCDT4.cmake
2009-06-11 02:45Philip LowmanFile Added: improvedCMakeFindEclipseCDT4.cmake
2009-06-11 02:48Philip LowmanNote Added: 0016704
2009-06-18 15:38Alex NeundorfNote Added: 0016737
2009-06-19 02:09Philip LowmanNote Added: 0016740
2009-06-28 06:01Alex NeundorfNote Added: 0016767
2009-06-28 06:01Alex NeundorfStatusassigned => closed
2009-06-28 06:01Alex NeundorfResolutionopen => fixed
2012-06-25 17:12Alex NeundorfRelationship addedrelated to 0013313

Notes
(0016663)
Philip Lowman   
2009-06-08 22:16   
Untested patch attached, awaiting testing on mailing list.
(0016704)
Philip Lowman   
2009-06-11 02:48   
improved version with support for LC_ALL and LC_MESSAGES
(0016737)
Alex Neundorf   
2009-06-18 15:38   
First version has been confirmed that it works:
http://www.cmake.org/pipermail/cmake/2009-June/030002.html [^]

Alex
(0016740)
Philip Lowman   
2009-06-19 02:09   
Second version as well has been confirmed to work by someone:
http://www.cmake.org/pipermail/cmake/2009-June/030122.html [^]

That said, I haven't done any testing. I think it's a safe patch, but I feel hesitant vouching for it when I haven't even used it yet!
(0016767)
Alex Neundorf   
2009-06-28 06:01   
I committed the patch to HEAD.
It seems to make sense, but I actually couldn't reproduce the problem here, on my system (Slackware) I couldn't get gcc to output in a language other than english.

Alex