Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mingw compiler showing c++1z or c++1y instead of c++17 or c++14 !!!

Mingw compiler showing c++1z or c++1y instead of c++17 or c++14 !!!

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 1.2k 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.
  • ankit thakarA Offline
    ankit thakarA Offline
    ankit thakar
    wrote on last edited by
    #1

    Hello Team,

    When I compile my code using CONFIG+=c++17 option. it compiles successfully.
    But the problem is that in compiler messages it is showing g++ -c -fno-keep-inline-dllexport -g -std=gnu++1z -Wall -W -Wextra

    Question : Why Qt 5.13 still showing gnu++1z instead of gnu++17?
    Note : this is the same case with c++14 also it shows gnu++1y while compiling !!!

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      It is totally ok.
      It is just another tag name for c+17
      https://meta.stackoverflow.com/questions/352031/why-is-the-c17-tag-replaced-by-the-c1z-tag

      1 Reply Last reply
      2

      • Login

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