This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/20043] New: transparent_union doesn't allow restrict qualifier removal


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]