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++/52446] GCC 4.7.0 can't build some templates, but gcc4.6 branch svn can


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-01 08:15:07 UTC ---
The code is invalid based on that part of the changes.
The trick is to include the header which defines "void sq_vm_free(void
*p,SQUnsignedInteger size);" before the call to it:
   sq_vm_free((_vals),((_allocated * sizeof(T))));;


Again this code is invalid and should be rejected for the reason reported.

(In reply to comment #2)
> I also try -fno-permissive

Try -fpermissive since -fno-permissive is the default.


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