Ah - this was fixed in 4f7731f229faf4506297140983fe2a3e3e65023f (qbs 1.5), 
which will be released soon.

On Apr 13, 2016, at 5:28 PM, Andrzej Telszewski 
<[email protected]<mailto:[email protected]>> wrote:

On 14/04/16 02:07, Petroules Jake wrote:
What version of qbs are you using?

On Apr 13, 2016, at 5:03 PM, Andrzej Telszewski 
<[email protected]<mailto:[email protected]>
<mailto:[email protected]>> wrote:

On 14/04/16 00:46, Petroules Jake wrote:
Unrecognized options just pass through. So passing "gnu99" should
already work.

On Apr 13, 2016, at 2:03 PM, Andrzej Telszewski
<[email protected]<mailto:[email protected]> 
<mailto:[email protected]>
<mailto:[email protected]>> wrote:

Hi,

From: /usr/share/qtcreator/qbs/share/qbs/modules/cpp/CppModule.qbs
I see that the following C/C++ standards are supported:

name: "cLanguageVersion"
allowedValues: ["c89", "c99", "c11"]

name: "cxxLanguageVersion"
allowedValues: ["c++98", "c++11", "c++14"]

What about the GUN variants, like "gnu99"?
For the moment I'm using cpp.commonCompilerFlags to specify the
standard, but I wonder if the GNU variants are going to be supported
through cLanguageVersion/cxxLanguageVersion ?

--
Best regards,
Andrzej Telszewski
_______________________________________________
QBS mailing list
[email protected]<mailto:[email protected]> <mailto:[email protected]>
<mailto:[email protected]>
http://lists.qt-project.org/mailman/listinfo/qbs

--
Jake Petroules - 
[email protected]<mailto:[email protected]>
<mailto:[email protected]>
<mailto:[email protected]>
Consulting Services Engineer - The Qt Company
Qbs build system evangelist - qbs.io<http://qbs.io> <http://qbs.io> 
<http://qbs.io>


What I actually mean is that if I specify "cLanguageVersion" to gnu99,
it fails.

--
Best regards,
Andrzej Telszewski

--
Jake Petroules - 
[email protected]<mailto:[email protected]>
<mailto:[email protected]>
Consulting Services Engineer - The Qt Company
Qbs build system evangelist - qbs.io<http://qbs.io> <http://qbs.io>


qbs version 1.4.5, from Qt Creator 3.6.1.

--
Best regards,
Andrzej Telszewski

--
Jake Petroules - 
[email protected]<mailto:[email protected]>
Consulting Services Engineer - The Qt Company
Qbs build system evangelist - qbs.io<http://qbs.io>

_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to