<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Ah - this was fixed in 4f7731f229faf4506297140983fe2a3e3e65023f (qbs 1.5), which will be released soon.
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 13, 2016, at 5:28 PM, Andrzej Telszewski <<a href="mailto:atelszewski@gmail.com" class="">atelszewski@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On 14/04/16 02:07, Petroules Jake wrote:<br class="">
<blockquote type="cite" class="">What version of qbs are you using?<br class="">
<br class="">
<blockquote type="cite" class="">On Apr 13, 2016, at 5:03 PM, Andrzej Telszewski <<a href="mailto:atelszewski@gmail.com" class="">atelszewski@gmail.com</a><br class="">
<<a href="mailto:atelszewski@gmail.com" class="">mailto:atelszewski@gmail.com</a>>> wrote:<br class="">
<br class="">
On 14/04/16 00:46, Petroules Jake wrote:<br class="">
<blockquote type="cite" class="">Unrecognized options just pass through. So passing "gnu99" should<br class="">
already work.<br class="">
<br class="">
<blockquote type="cite" class="">On Apr 13, 2016, at 2:03 PM, Andrzej Telszewski<br class="">
<<a href="mailto:atelszewski@gmail.com" class="">atelszewski@gmail.com</a> <<a href="mailto:atelszewski@gmail.com" class="">mailto:atelszewski@gmail.com</a>><br class="">
<<a href="mailto:atelszewski@gmail.com" class="">mailto:atelszewski@gmail.com</a>>> wrote:<br class="">
<br class="">
Hi,<br class="">
<br class="">
From: /usr/share/qtcreator/qbs/share/qbs/modules/cpp/CppModule.qbs<br class="">
I see that the following C/C++ standards are supported:<br class="">
<br class="">
name: "cLanguageVersion"<br class="">
allowedValues: ["c89", "c99", "c11"]<br class="">
<br class="">
name: "cxxLanguageVersion"<br class="">
allowedValues: ["c++98", "c++11", "c++14"]<br class="">
<br class="">
What about the GUN variants, like "gnu99"?<br class="">
For the moment I'm using cpp.commonCompilerFlags to specify the<br class="">
standard, but I wonder if the GNU variants are going to be supported<br class="">
through cLanguageVersion/cxxLanguageVersion ?<br class="">
<br class="">
--<br class="">
Best regards,<br class="">
Andrzej Telszewski<br class="">
_______________________________________________<br class="">
QBS mailing list<br class="">
<a href="mailto:QBS@qt-project.org" class="">QBS@qt-project.org</a> <<a href="mailto:QBS@qt-project.org" class="">mailto:QBS@qt-project.org</a>><br class="">
<<a href="mailto:QBS@qt-project.org" class="">mailto:QBS@qt-project.org</a>><br class="">
<a href="http://lists.qt-project.org/mailman/listinfo/qbs" class="">http://lists.qt-project.org/mailman/listinfo/qbs</a><br class="">
</blockquote>
<br class="">
--<br class="">
Jake Petroules - <a href="mailto:jake.petroules@theqtcompany.com" class="">jake.petroules@theqtcompany.com</a><br class="">
<<a href="mailto:jake.petroules@theqtcompany.com" class="">mailto:jake.petroules@theqtcompany.com</a>><br class="">
<<a href="mailto:jake.petroules@theqtcompany.com" class="">mailto:jake.petroules@theqtcompany.com</a>><br class="">
Consulting Services Engineer - The Qt Company<br class="">
Qbs build system evangelist - <a href="http://qbs.io" class="">qbs.io</a> <<a href="http://qbs.io" class="">http://qbs.io</a>> <<a href="http://qbs.io" class="">http://qbs.io</a>><br class="">
<br class="">
</blockquote>
<br class="">
What I actually mean is that if I specify "cLanguageVersion" to gnu99,<br class="">
it fails.<br class="">
<br class="">
--<br class="">
Best regards,<br class="">
Andrzej Telszewski<br class="">
</blockquote>
<br class="">
--<br class="">
Jake Petroules - <a href="mailto:jake.petroules@theqtcompany.com" class="">jake.petroules@theqtcompany.com</a><br class="">
<<a href="mailto:jake.petroules@theqtcompany.com" class="">mailto:jake.petroules@theqtcompany.com</a>><br class="">
Consulting Services Engineer - The Qt Company<br class="">
Qbs build system evangelist - <a href="http://qbs.io" class="">qbs.io</a> <<a href="http://qbs.io" class="">http://qbs.io</a>><br class="">
<br class="">
</blockquote>
<br class="">
qbs version 1.4.5, from Qt Creator 3.6.1.<br class="">
<br class="">
-- <br class="">
Best regards,<br class="">
Andrzej Telszewski<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
-- <br class="">
Jake Petroules - <a href="mailto:jake.petroules@theqtcompany.com" class="">jake.petroules@theqtcompany.com</a><br class="">
Consulting Services Engineer - The Qt Company</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Qbs build system evangelist - <a href="http://qbs.io" class="">qbs.io</a></div>
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>