Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. remove std=gnu++11, already setting std=c++11 in my configs
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 807 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Goapher
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved