[Bug modula2/108135] Modula2 meets clang
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 23 11:03:20 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108135
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for the fix. However, I still see some Clang warnings related to M2:
./m2/gm2config.h:56:9: warning: 'PACKAGE_NAME' macro redefined
[-Wmacro-redefined]
./m2/gm2config.h:59:9: warning: 'PACKAGE_STRING' macro redefined
[-Wmacro-redefined]
./m2/gm2config.h:62:9: warning: 'PACKAGE_TARNAME' macro redefined
[-Wmacro-redefined]
./m2/gm2config.h:68:9: warning: 'PACKAGE_VERSION' macro redefined
[-Wmacro-redefined]
m2/gm2-compiler-boot/M2GCCDeclare.c:5404:13: warning: function 'AddSymToWatch'
is not needed and will not be emitted [-Wunneeded-internal-declaration]
m2/gm2-compiler-boot/M2Quads.c:10291:16: warning: variable 'Dim' set but not
used [-Wunused-but-set-variable]
m2/gm2-compiler-boot/M2Quads.c:18420:54: warning: unused parameter 'withTok'
[-Wunused-parameter]
Please fix the as well.
More information about the Gcc-bugs
mailing list