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++/46890] compile regression from 4.5 when building scummvm's player_v4a.cpp


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |froydnj at codesourcery dot
                   |                            |com
   Target Milestone|---                         |4.6.0

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-17 05:55:32 UTC ---
A simple testcase:

[hjl@gnu-35 rrs]$ cat pr46890.cc 
struct MdatResource {
const char *mdatAlloc;
} const *_resource;
[hjl@gnu-35 rrs]$ ./166977/usr/bin/gcc -S pr46890.cc
pr46890.cc:3:1: error: expected \u2018;\u2019 after struct definition
pr46890.cc:3:10: error: ISO C++ forbids declaration of \u2018_resource\u2019
with no type [-fpermissive]
[hjl@gnu-35 rrs]$ 

It is caused by revision 166977:

http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00866.html


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