[Bug lto/41921] Cross language don't work with typedef unnamed structs

2009-11-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-11-03 10:11 --- I will have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug lto/41921] Cross language don't work with typedef unnamed structs

2009-11-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-03 06:35 --- It also works if I "convert" the C++ source into a C (removing the extern "C" stuff). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41921

[Bug lto/41921] Cross language don't work with typedef unnamed structs

2009-11-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-03 06:31 --- This works if the struct is named too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41921

[Bug lto/41921] Cross language don't work with typedef unnamed structs

2009-11-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-03 06:30 --- This works if both are compiled with the C++ front-end (and an extern "C" is added to the definition of Cv_ImageNew). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41921