gcc/libgm2/libm2pim
Gaius Mulley 01cca857aa PR modula2/112984 Compiling program with -Wpedantic shows warning in libraries
This patch tidies up the library modules so that -Wpedantic does not
generate any warnings (apart from two procedures with legitimate infinite
loops).

gcc/m2/ChangeLog:

	PR modula2/112984
	* gm2-libs-coroutines/SYSTEM.mod: Remove redundant import of memcpy.
	* gm2-libs-iso/ClientSocket.mod: Remove redundant import of IOConsts.
	* gm2-libs-iso/IOChan.mod: Remove redundant import of IOConsts.
	* gm2-libs-iso/IOLink.mod: Remove redundant import of IOChan and SYSTEM.
	* gm2-libs-iso/IOResult.mod: Remove redundant import of IOChan.
	* gm2-libs-iso/LongIO.mod: Remove redundant import of writeString.
	* gm2-libs-iso/LongWholeIO.mod: Remove redundant import of IOChan.
	* gm2-libs-iso/M2RTS.mod: Remove redundant import of ADDRESS.
	* gm2-libs-iso/MemStream.mod: Remove redundant import of ADDRESS.
	* gm2-libs-iso/RTdata.mod: Remove redundant import of DeviceTablePtr.
	* gm2-libs-iso/RTfio.mod: Remove redundant import of DeviceTablePtr.
	* gm2-libs-iso/RTgen.mod: Remove redundant import of DeviceTablePtr.
	* gm2-libs-iso/RealIO.mod: Remove redundant import of writeString.
	* gm2-libs-iso/RndFile.mod: Remove redundant import of SYSTEM.
	* gm2-libs-iso/SYSTEM.mod: Remove redundant import of memcpy.
	* gm2-libs-iso/ShortWholeIO.mod: Remove redundant import of IOConsts.
	* gm2-libs-iso/TextIO.mod: Remove redundant import of IOChan.
	* gm2-libs-iso/TextUtil.mod: Remove redundant import of IOChan.
	* gm2-libs-iso/WholeIO.mod: Remove redundant import of IOChan.
	* gm2-libs-log/BitByteOps.mod: Remove redundant import of BYTE.
	* gm2-libs-log/FileSystem.mod: Remove redundant import of BYTE and ADDRESS.
	* gm2-libs-log/InOut.mod: Remove redundant import of String.
	* gm2-libs-log/RealConversions.mod: Remove redundant import of StringToLongreal.
	* gm2-libs/FIO.mod: Remove redundant import of SIZE.
	* gm2-libs/FormatStrings.mod: Remove redundant import of String
	and ConCatChar.
	* gm2-libs/IO.mod: Remove redundant import of SIZE.
	* gm2-libs/Indexing.mod: Remove redundant import of ADDRESS.
	* gm2-libs/M2Dependent.mod: Remove redundant import of SIZE.
	* gm2-libs/M2RTS.mod: Remove redundant import of ADDRESS.
	* gm2-libs/OptLib.mod: Remove redundant import of DynamicStrings.
	* gm2-libs/SYSTEM.mod: Remove redundant import of memcpy.
	* gm2-libs/StringConvert.mod: Remove redundant import of String.

libgm2/ChangeLog:

	* libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Added line breaks.
	* libm2iso/Makefile.in: Regenerate.
	* libm2log/Makefile.am (libm2log_la_M2FLAGS): Added line breaks.
	* libm2log/Makefile.in: Regenerate.
	* libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Added line breaks.
	* libm2pim/Makefile.in: Regenerate.

gcc/testsuite/ChangeLog:

	PR modula2/112984
	* gm2/switches/pedantic/pass/hello.mod: New test.
	* gm2/switches/pedantic/pass/switches-pedantic-pass.exp: New test.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2023-12-12 19:29:06 +00:00
..
cgetopt.cc PR modula2/111530: Build failure on BSD due to getopt_long_only GNU extension dependency 2023-10-27 15:54:48 +01:00
dtoa.cc PR 109125 13 regression SIGBUS in m2pim_ldtoa_ldtoa 2023-03-15 21:30:33 +00:00
errno.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
ldtoa.cc PR 109125 13 regression SIGBUS in m2pim_ldtoa_ldtoa 2023-03-15 21:30:33 +00:00
Makefile.am PR modula2/112984 Compiling program with -Wpedantic shows warning in libraries 2023-12-12 19:29:06 +00:00
Makefile.in PR modula2/112984 Compiling program with -Wpedantic shows warning in libraries 2023-12-12 19:29:06 +00:00
sckt.cc Replace bool as boolean instead of int in libgm2 2023-05-13 15:49:50 +01:00
Selective.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
SysExceptions.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
target.c
termios.cc PR 109125 Modula2 SIGBUS in m2pim_ldtoa_ldtoa 2023-03-14 19:52:11 +00:00
UnixArgs.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
wrapc.cc PR modula2/111955 introduce isnan support to Builtins.def 2023-10-25 11:04:12 +01:00