https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I have not looked at this in detail. Generally, you can do conditional errors depending on what -std=fxxxx a user specifies at compile time. So theoretically you can do two different errors depending on these options. Also look in the codes for examples of 'notify' or 'notification' to see ways to do these things. Another way is to build an error message with snprintf for example and use that string in the error message.