Package: libc6-dev
Version: 2.10.2-6
Severity: minor
Tags: patch
Hello GNU Libc Maintainers,
When using gcc 2.95, gcc report a warning:
%gcc-2.95 -Wno-main foo.c -c
In file included from /usr/include/sys/types.h:270,
from /usr/include/stdlib.h:320,
from foo.c:1:
/usr/include/bits/pthreadtypes.h:99: warning: unnamed struct/union that defines
no instances
I know gcc-2.95 is totally outdated, but it is useful for regression testing
of old version of software that were only tested with it, this warning cause
lots of noise, and there is no way to disable it in gcc 2.95.
Fixing this warning is trivial. Please see the attached patch.
This is the only instance I found where gcc-2.95 report a warning from the
headers file.
Cheers,