[CMake] Indexer confused by Preprocessor Symbols in Eclipse CDT

Alexander Neundorf a.neundorf-work at gmx.net
Thu Sep 22 00:47:21 EDT 2011


On Wednesday, September 21, 2011 05:17:30 PM André wrote:
> hello,
> I've got a problem with a cmake generated eclipse project. In the 'C/C++
> Include Paths and Symbols' list cmake generates this preprocessor smybol:
> 
> int=__WCHAR_TYPE__
> 
> which confuses the indexer. I get 'Type 'int' could not be resolved'
> errors and some others. If I delete the symbol everything is fine. Is
> there a fix for this?

Please try with cmake 2.8.5 or 2.8.6rc, I think I fixed this some months ago 
already.

Alex


More information about the CMake mailing list