MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015828 | CMake | CMake | public | 2015-11-03 05:10 | 2016-06-10 14:31 |
Reporter | Franz Reinhardt | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Linux | OS | OpenSuse | OS Version | 13.2 |
Product Version | CMake 3.3.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015828: Indexer doesn't work with C++11 | ||||
Description | *Environment* cmake version 3.3.2 Eclipse IDE for C/C++ Developers 4.5.1.20150917-1200 gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ [^] --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux Thread model: posix gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) *Short description* if | ||||
Steps To Reproduce | There's the source directory CmakeEclipseTest and an outof source build directory: cd into the build directory and call (please correct the paths according the environment) cmake -DCMAKE_ECLIPSE_VERSION=4.4 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/home/visionuser/CoreEngine-x86_64-Linux/main/CmakeEclipseTest/stage" -DCMAKE_PREFIX_PATH="/home/visionuser/CoreEngine-x86_64-Linux/Sandbox" -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE /home/visionuser/CoreEngine-x86_64-Linux/main/CmakeEclipseTest Then open eclipse and import the existing project in your workspace (the build project). Then open main.cpp and rebuild the index. The std::smart_ptr will show up red. | ||||
Additional Information | Most probably the creation of the .cproject file is done wrong: <pathentry kind="mac" name="__cplusplus" path="" value="199711L"/> Even when setting up the compiler to C++11 it creates the wrong __cplusplus entry. There are probably some duplicates of this bug, but their are related to different platforms, and they are still not fixed. | ||||
Tags | c++11, CDT, Eclipse | ||||
Relationships | |||||
Attached Files | CmakeEclipseTest.tgz (4,600) 2015-11-03 05:10 https://public.kitware.com/Bug/file/5562/CmakeEclipseTest.tgz | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-11-03 05:10 | Franz Reinhardt | New Issue | |||
2015-11-03 05:10 | Franz Reinhardt | File Added: CmakeEclipseTest.tgz | |||
2015-11-03 05:11 | Franz Reinhardt | Tag Attached: c++11 | |||
2015-11-03 05:11 | Franz Reinhardt | Tag Attached: CDT | |||
2015-11-03 05:12 | Franz Reinhardt | Tag Attached: Eclipse | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042877 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|