https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565
Andrew Pinski changed:
What|Removed |Added
Known to work||8.0
Status|NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565
--- Comment #1 from patrick at parcs dot ath.cx ---
Er, sorry, the call to foo () within main ought to be B::foo ().
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565
--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
(In reply to patrick from comment #0)
$ g++ -c exc.C
exc.C:8:26: warning: declaration of ‘void B::foo()’ with C language linkage
[enabled by default]
extern C void foo ();
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565
--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org ---
(In reply to patrick from comment #1)
Er, sorry, the call to foo () within main ought to be B::foo ().
OK, in that case you need to fix the declaration of B::foo() if you want to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565
--- Comment #4 from patrick at parcs dot ath.cx ---
(In reply to Jonathan Wakely from comment #3)
(In reply to patrick from comment #1)
Er, sorry, the call to foo () within main ought to be B::foo ().
OK, in that case you need to fix the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last