public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60481] New: [4.9 Regression] Missing diagnostic "ISO C++ forbids declaration of 'foo' with no type"
@ 2014-03-10  9:46 d.g.gorbachev at gmail dot com
  2014-03-10 10:20 ` [Bug target/60481] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2014-03-10  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60481
           Summary: [4.9 Regression] Missing diagnostic "ISO C++ forbids
                    declaration of 'foo' with no type"
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com
            Target: *-*-mingw32

$ cat > foo.C
foo()
{
  return 0;
}
^D
$ i686-w64-mingw32-g++-4.9.0 -S foo.C
$ i686-pc-linux-gnu-g++-4.9.0 -S foo.C
foo.C:1:5: error: ISO C++ forbids declaration of 'foo' with no type
[-fpermissive]
 foo()
     ^


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

end of thread, other threads:[~2014-06-19  4:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10  9:46 [Bug target/60481] New: [4.9 Regression] Missing diagnostic "ISO C++ forbids declaration of 'foo' with no type" d.g.gorbachev at gmail dot com
2014-03-10 10:20 ` [Bug target/60481] " redi at gcc dot gnu.org
2014-03-10 13:48 ` d.g.gorbachev at gmail dot com
2014-03-31  8:55 ` rguenth at gcc dot gnu.org
2014-03-31  9:32 ` rguenth at gcc dot gnu.org
2014-06-19  4:54 ` [Bug target/60481] `g++ -Q --help=c++' falsely reports -fms-extensions as [disabled] when in fact it is enabled d.g.gorbachev at gmail 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).