This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Then, let's say we have one of such options. For example, let's call it -Wx for this example. If the behaviour is consistent with other "group" options like -Wall, then:
-Wx is enabled by default (like now) -Wno-pedantic does not disable -Wx (like now)
-Werror=pedantic implies -Werror=x ? (to mimic -pedantic-errors)
For example, -Wmain is enabled by default but also by -Wall and -pedantic. However, -Werror=all does not enable -Werror=main. Is this a bug or the desired behaviour?
-Wno-error=pedantic -Werror implies -Werror=x or -Wno-error=x? The documentation only says that -Wno-error= does not imply anything.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |