public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30012] New: void foo(GLvoid) doesn't work
@ 2006-11-29 0:35 mrs at apple dot com
2006-11-29 0:38 ` [Bug c++/30012] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: mrs at apple dot com @ 2006-11-29 0:35 UTC (permalink / raw)
To: gcc-bugs
$ 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/30012] void foo(GLvoid) doesn't work
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
@ 2006-11-29 0:38 ` pinskia at gcc dot gnu dot org
2006-11-29 0:39 ` mrs at apple dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-29 0:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-29 00:38 -------
And this is invalid code IIRC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/30012] void foo(GLvoid) doesn't work
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
2006-11-29 0:38 ` [Bug c++/30012] " pinskia at gcc dot gnu dot org
@ 2006-11-29 0:39 ` mrs at apple dot com
2006-11-29 0:41 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mrs at apple dot com @ 2006-11-29 0:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mrs at apple dot com 2006-11-29 00:39 -------
Found in build of fltk-2.0.x-r5547 http://www.fltk.org/ for i686-apple-darwin9.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/30012] void foo(GLvoid) doesn't work
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
2006-11-29 0:38 ` [Bug c++/30012] " pinskia at gcc dot gnu dot org
2006-11-29 0:39 ` mrs at apple dot com
@ 2006-11-29 0:41 ` pinskia at gcc dot gnu dot org
2006-11-29 0:43 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-29 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-29 00:41 -------
In fact this is a dup of bug 9278 which was fixed in 4.2.0.
*** This bug has been marked as a duplicate of 9278 ***
*** This bug has been marked as a duplicate of 9278 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/30012] void foo(GLvoid) doesn't work
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
` (2 preceding siblings ...)
2006-11-29 0:41 ` pinskia at gcc dot gnu dot org
@ 2006-11-29 0:43 ` pinskia at gcc dot gnu dot org
2006-11-29 0:46 ` mrs at apple dot com
2006-11-29 0:57 ` mrs at apple dot com
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-29 0:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-11-29 00:42 -------
there has already been two Defect reports to the C++ standards committee about
this:
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#577
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/30012] void foo(GLvoid) doesn't work
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
` (3 preceding siblings ...)
2006-11-29 0:43 ` pinskia at gcc dot gnu dot org
@ 2006-11-29 0:46 ` mrs at apple dot com
2006-11-29 0:57 ` mrs at apple dot com
5 siblings, 0 replies; 7+ messages in thread
From: mrs at apple dot com @ 2006-11-29 0:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from mrs at apple dot com 2006-11-29 00:46 -------
:-( Oh well, sorry for the noise...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/30012] void foo(GLvoid) doesn't work
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
` (4 preceding siblings ...)
2006-11-29 0:46 ` mrs at apple dot com
@ 2006-11-29 0:57 ` mrs at apple dot com
5 siblings, 0 replies; 7+ messages in thread
From: mrs at apple dot com @ 2006-11-29 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mrs at apple dot com 2006-11-29 00:57 -------
Ah...
--
mrs at apple dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30012
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-11-29 0:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-29 0:35 [Bug c++/30012] New: void foo(GLvoid) doesn't work mrs at apple dot com
2006-11-29 0:38 ` [Bug c++/30012] " pinskia at gcc dot gnu dot org
2006-11-29 0:39 ` mrs at apple dot com
2006-11-29 0:41 ` pinskia at gcc dot gnu dot org
2006-11-29 0:43 ` pinskia at gcc dot gnu dot org
2006-11-29 0:46 ` mrs at apple dot com
2006-11-29 0:57 ` mrs at apple dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).