J
Juha Nieminen
Scott Lurndal said:You conveniently omitted the context, was "declare where used".
Perhaps you missed my point.
Scott Lurndal said:You conveniently omitted the context, was "declare where used".
Juha Nieminen said:You must be joking.
You conveniently omitted the context, was "declare where used".
$ g++ -o /tmp/bbb /tmp/a.cpp
/tmp/a.cpp: In function 'int main(int, char**)':
/tmp/a.cpp:27:1: error: jump to label 'leave' [-fpermissive]
/tmp/a.cpp:19:12: error: from here [-fpermissive]
/tmp/a.cpp:23:7: error: crosses initialization of 'int b'
Juha Nieminen said:You must be joking.
You conveniently omitted the context, was "declare where used".
$ g++ -o /tmp/bbb /tmp/a.cpp
/tmp/a.cpp: In function 'int main(int, char**)':
/tmp/a.cpp:27:1: error: jump to label 'leave' [-fpermissive]
/tmp/a.cpp:19:12: error: from here [-fpermissive]
/tmp/a.cpp:23:7: error: crosses initialization of 'int b'
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.