[Bug modula2/112984] Compiling program with -Wpedantic shows warning in libraries

gaius at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 12 16:18:31 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112984

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 56865
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56865&action=edit
Proposed fix

Here is a proposed fix - all libraries can be compiled with -Wpedantic (apart
from two which have necessary infinite loops).  Perhaps the -Wpedantic needs to
be turned off via an attribute in these two modules (one of which is the
procedure SYSTEM.Listen which waits for activity in a set of fds).


More information about the Gcc-bugs mailing list