Opened 9 years ago
Closed 9 years ago
#1045 closed defect (fixed)
rasnet compilation not working with --enable-strict
Reported by: | George Merticariu | Owned by: | George Merticariu |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | undecided | Version: | development |
Keywords: | Cc: | Alex Toader, Vlad Zamfir | |
Complexity: | Medium |
Description
Change History (6)
comment:2 by , 9 years ago
Replying to dmisev:
There are ways to selectively ignore the warnings, see the
#pragma GCC diagnosticin source:qlparser/oql.yy for example (at top and bottom of the code in oql.yy).
There is a bug in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431
The C++ preprocessor is ingnorring pragma commands. Thus, I couldn't find any workaround to ignore the warnings and enable the compilation with —enable-strict.
Any suggestions?
comment:3 by , 9 years ago
Are you sure? It seems like it works in oql.yy and elsewhere where there are generated warnings, otherwise the jenkins test would never pass (it uses —enable-strict).
comment:4 by , 9 years ago
Cc: | added |
---|
There are ways to selectively ignore the warnings, see the
in source:qlparser/oql.yy for example.