unwanted added compiler arguments
Arthur Gruzauskas <[email protected]>
| Newsgroups | gmane.comp.kde.users.kdevelop |
|---|---|
| Message-ID | <2317591.eo8nOZzRHe@snowy> |
Hi List, Started playing with using C++17 features, but have hit a wall with some unwanted compiler arguments being magically appended. It boils down to " -fPIC -std=c++14" somehow being appended to the end of my compiler command arguments. Now, I'm quite happy with -fPIC, but the -std=c++14 overrides my -std=c++1z argument. Looking through every configuration dialog in KDevelop didn't help. Looking through the various CMake files in the build directory, i can't see this added anywhere. Using gcc instead of clang shows the same added args. Google has not been my friend. Is there somewhere that kdevelop adds "-fPIC -std=c++14" ? Arthur I'm using KDevelop 5.1.80 from git. The compile line that shows those added arguments (in red): /usr/bin/clang++-4.0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG - DQT_WIDGETS_LIB -isystem /usr/include/x86_64-linux-gnu/qt5 -I. -I/home/artg/ alocal/ajg_stuff -I/usr/local/cuda/include -isystem /usr/include/x86_64-linux-gnu/qt5/ QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/ x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g+ +-64 -march=native -std=c++1z -pipe -Wall -Werror -Wshadow -Wno-c++98-compat -Weverything -Wno-conversion -Wno-sign-compare -Wno-c++98-compat-pedantic - Wno-padded -Wno-documentation-unknown-command -Wno-deprecated -Wno- covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -Wno- disabled-macro-expansion -O3 -DNDEBUG *-fPIC -std=c++14* -MD -MT CMakeFiles/weathered.dir/src/world.cpp.o -MF CMakeFiles/weathered.dir/src/ world.cpp.o.d -o CMakeFiles/weathered.dir/src/world.cpp.o -c ../src/world.cpp