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++/30012] New: void foo(GLvoid) doesn't work


$ cat /tmp/t.cc
typedef void GLvoid;
extern void glEndTransformFeedbackEXT(GLvoid);
il0102b-dhcp66 $ ./xgcc -B./ /tmp/t.cc -S
/tmp/t.cc:2: error: '<anonymous>' has incomplete type
/tmp/t.cc:2: error: invalid use of 'GLvoid'
$ gcc-4.0 /tmp/t.cc -S
$ 

This breaks use of some OpenGL by C++.  This is a regression I think from 4.0.


-- 
           Summary: void foo(GLvoid) doesn't work
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mrs at apple dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012


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