public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53018] New: problem with c++0x
@ 2012-04-17 12:26 liyaopeng.0 at gmail dot com
  2012-04-17 12:33 ` [Bug c++/53018] " manu at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: liyaopeng.0 at gmail dot com @ 2012-04-17 12:26 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53018
           Summary: problem with c++0x
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: liyaopeng.0@gmail.com


If I use the command g++ with -std=c++0x,it will report strange errors.For
example it report a member-function does not match any in class but I surely
declare the all the same member-function,and the message of position of the
member-function in the declaration of the class is wrong! It reports that "ISO
C++ forbids comparison between pointer and integer [-fpermissive]" when I put
an integer and an element of an array with type int at each of the end of ==
.And it reports " invalid conversion from ‘int’ to ‘thinker::Regulation*’
[-fpermissive]" when I put an integer and an element of an array with type int
at each end of = .   But if without tht option -std=c++0x, all the problem
described above are absent.Thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-09 23:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-17 12:26 [Bug c++/53018] New: problem with c++0x liyaopeng.0 at gmail dot com
2012-04-17 12:33 ` [Bug c++/53018] " manu at gcc dot gnu.org
2012-04-17 12:34 ` manu at gcc dot gnu.org
2012-10-09 23:03 ` paolo.carlini at oracle 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).