This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20043] New: transparent_union doesn't allow restrict qualifier removal
- From: "roland at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2005 23:16:02 -0000
- Subject: [Bug c/20043] New: transparent_union doesn't allow restrict qualifier removal
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC 4 now produces a "conflicting types" error for code that gcc 3.4 accepts
without complaint. This usage pattern occurs when using glibc's <sys/socket.h>
with _GNU_SOURCE defined, followed by a POSIX-compliant redeclaration of
function like `accept'. This is what transparent_union was invented to support.
--
Summary: transparent_union doesn't allow restrict qualifier
removal
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: roland at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20043