[Interest] CONFIG c++2a vs. QMAKE_CXXFLAGS += -std=c++2a
Bernhard Lindner
private at bernhard-lindner.de
Wed May 6 21:01:58 CEST 2020
Ok, I see. Thanks a lot Thiago!
Is this documented somewhere?
> > Can somebody please explain the difference between t
> > he following QMAKE
> > project lines when building a GCC project:
> >
> > CONFIG += c++2a
> >
> > QMAKE_CXXFLAGS += -std=c++2a
> >
> > I expected both to have the same effect but there must be a difference since
> > the latter gives me compilation errors while the first does not.
>
> The latter is equivalent to:
>
> CONFIG += c++2a strict_c++
--
Best Regards,
Bernhard Lindner
More information about the Interest
mailing list