remove std=gnu++11, already setting std=c++11 in my configs



  • Re: Where "-std=gnu++11" came from?

    The std=gnu++11 is getting added from clang.conf in my mkspecs folder as part of QMAKE_CXXFLAGS_GNUCXX11. What is a recommended way to remove the flag when building my projects - as I am already setting std=c++11.
    The std=gnu++11 is causing precompile header issues, cribbing about trigraphs getting disabled.

    Thanks.


  • Moderators

    Modify the mkspecs. Or better - copy it, change folder name and use this new name. It will be easier to move this mkspecs around when you port to different Qt versions.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.