public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54662] New: Wrong warning flags for building mep-pragma.o, fails to build
@ 2012-09-21 18:08 amylaar at gcc dot gnu.org
  2013-02-26 14:55 ` [Bug target/54662] " amylaar at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-09-21 18:08 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54662
           Summary: Wrong warning flags for building mep-pragma.o, fails
                    to build
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
                CC: dj@redhat.com
            Blocks: 44756
            Target: mep-elf


(similar to bug 54641)

g++ -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes
 -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc
-I../../../gcc/gcc/. -I../../../gcc/gcc/../include
-I../../../gcc/gcc/../libcpp/include  -I../../../gcc/gcc/../libdecnumber
-I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber    -I. -I.
-I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include
-I../../../gcc/gcc/../libcpp/include  -I../../../gcc/gcc/../libdecnumber
-I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  
../../../gcc/gcc/config/mep/mep-pragma.c
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC
but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for
C/ObjC but not for C++ [enabled by default]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for
C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wc++-compat’ is valid for C/ObjC but not
for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [mep-pragma.o] Error 1


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

end of thread, other threads:[~2013-02-28 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-21 18:08 [Bug target/54662] New: Wrong warning flags for building mep-pragma.o, fails to build amylaar at gcc dot gnu.org
2013-02-26 14:55 ` [Bug target/54662] " amylaar at gcc dot gnu.org
2013-02-28  9:49 ` amylaar at gcc dot gnu.org
2013-02-28 10:16 ` amylaar at gcc dot gnu.org

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).