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] | |
The warnings (messages!) that are not modifiable are those that don't have the first argument of warn() appropriately set. So if that message is emitted by warn(0, "cast discards...") instead of warn(OPT_Wcast_qual, "cast discards...") that is a bug and it will be really good to fix it.
In addition to what he said, you also can't use #pragma in a macro definition.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |