Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
1.12.0
-
None
-
Tested in QtCreator 4.7.0-beta1 which comes with Qbs 1.12.0.
-
07a0b3ddbb9ed39901f23ab814f856f6e2bb191a
Description
Property cLanguageVersion in module cpp doesn't allow to specify anything.
When I use it inside project like this:
cpp.cLanguageVersion: "c11"
I get the following error:
TypeError: Result of expression 'other.forEach' [undefined] is not a function.
languageVersion(versionArray = 'c11', knownValues = c11,c99,c90,c89, lang = 'C') currentLanguageVersion(tag = 'c') compilerFlags(project = [object Object], product = [object Object], input = [object Object], output = [object Object], explicitlyDependsOn = [object Object]) prepareCompiler(project = [object Object], product = [object Object], inputs = [object Object], outputs = [object Object], input = [object Object], output = [object Object], explicitlyDependsOn = [object Object]) <anonymous>(project = [object Object], product = [object Object], inputs = [object Object], outputs = [object Object], input = [object Object], output = [object Object], explicitlyDependsOn = [object Object])
On different note, the list does not accept gnu extension options like gnu11, which were previously handled as pass-through.