aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/modules/lexyacc-module.qdoc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-02-21 10:34:46 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-02-21 17:24:22 +0000
commit1c65b79eb3da939de372b10b603729c4621caba8 (patch)
tree1e8ae81cdc24d541d90bf0b78af12cfe600074a5 /doc/reference/modules/lexyacc-module.qdoc
parent006b8b84683bdb8b739465601089cf29e601c4be (diff)
lex_yacc: Suppress compiler warnings for the generated C/C++ files
These tools are known to produce sources that trigger compiler warnings, so switch warnings off by default. [ChangeLog] lex_yacc module: Introduced property enableCompilerWarnings. Task-number: QBS-1104 Change-Id: If13535dde5a580cd0cec215da22b8b8d22d7105b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc/reference/modules/lexyacc-module.qdoc')
-rw-r--r--doc/reference/modules/lexyacc-module.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/reference/modules/lexyacc-module.qdoc b/doc/reference/modules/lexyacc-module.qdoc
index 42156c868..1b960f605 100644
--- a/doc/reference/modules/lexyacc-module.qdoc
+++ b/doc/reference/modules/lexyacc-module.qdoc
@@ -48,6 +48,14 @@
\li Default
\li Description
\row
+ \li enableCompilerWarnings
+ \li \c{bool}
+ \li 1.8
+ \li \c{false}
+ \li Because \c lex and \c yacc are known to produce files that will trigger compiler
+ warnings, such warnings are suppressed by default. Set this property to \c true
+ if you want to see them.
+ \row
\li lexBinary
\li \c{string}
\li 1.6