Thanks Thiago. I eventually used -Wno-c++1z-extensions so I could get working again.
--- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney <https://twitter.com/asmaloney> On Sun, Jul 9, 2017 at 2:50 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On sábado, 8 de julho de 2017 07:55:39 PDT Andy wrote: > > Is anyone else getting thousands of warnings about the "nodiscard" > > attribute? > > > > warning: use of the 'nodiscard' attribute is a C++1z extension > > [-Wc++1z-extensions] > > Yes, it's a Clang bug. See https://bugs.llvm.org/show_bug.cgi?id=33518. > > We're working with them to figure out what the proper solution should be. > You > can work around this problem now by deleteing these lines from > qcompilerdetection.h: > > #if QT_HAS_CPP_ATTRIBUTE(nodiscard) // P0188R1 > # undef Q_REQUIRED_RESULT > # define Q_REQUIRED_RESULT [[nodiscard]] > #endif > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest