This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46890] compile regression from 4.5 when building scummvm's player_v4a.cpp
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Dec 2010 05:55:47 +0000
- Subject: [Bug c++/46890] compile regression from 4.5 when building scummvm's player_v4a.cpp
- Auto-submitted: auto-generated
- References: <bug-46890-4@http.gcc.gnu.org/bugzilla/>
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