[Interest] "nodiscard" attribute

Andy asmaloney at gmail.com
Sat Jul 8 16:55:39 CEST 2017


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]


macOS 10.12.5
Qt Creator 4.3.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Qt 5.9 git 5f37f812f967295165e60ce9be8ec69ad059b81a

I have CONFIG += c++14 in my .pro file.

---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170708/50ffee51/attachment.html>


More information about the Interest mailing list