[Bug c++/60565] Bogus not-in-scope error

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565 Andrew Pinski changed: What|Removed |Added Known to work||8.0 Status|NEW

[Bug c++/60565] Bogus not-in-scope error

2014-03-18 Thread patrick at parcs dot ath.cx
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 ().

[Bug c++/60565] Bogus not-in-scope error

2014-03-18 Thread redi at gcc dot gnu.org
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 ();

[Bug c++/60565] Bogus not-in-scope error

2014-03-18 Thread redi at gcc dot gnu.org
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

[Bug c++/60565] Bogus not-in-scope error

2014-03-18 Thread patrick at parcs dot ath.cx
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

[Bug c++/60565] Bogus not-in-scope error

2014-03-18 Thread redi at gcc dot gnu.org
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