Adriaan van Os wrote:
[G4:~/testgpcadriaan] adriaan% cat NoUnderscore.p
program NoUnderscore;
procedure _Run; begin writeln('_Run') end;
begin _Run end.
[G4:~/testgpcadriaan] adriaan% gpc NoUnderscore.p NoUnderscore.p:4: warning: identifiers should not start with an underscore
[G4:~/testgpcadriaan] adriaan% gpc NoUnderscore.p -Wno-underscore
[G4:~/testgpcadriaan] adriaan% gpc NoUnderscore.p --gnu-pascal -Wno-underscore NoUnderscore.p:4: warning: identifiers should not start with an underscore
So, it seems that -Wno-underscore is broken when used with --gnu-pascal.
I can't seem to reproduce it. Did you perhaps try the options the other way around (`-Wno-underscore --gnu-pascal')? Then it would be expected behaviour since options are generally processed from left to right, and `--gnu-pascal', among other things (cf. p/gpc-options.h), sets `-Wunderscore'. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html NEW! GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8