Thread View: borland.public.cppbuilder.upgrade
1 messages
1 total messages
Started by Al
Fri, 30 Nov 2007 21:48
function scope
Author: Al
Date: Fri, 30 Nov 2007 21:48
Date: Fri, 30 Nov 2007 21:48
15 lines
1689 bytes
1689 bytes
I've just upgraded from c++builder 4 to 5 (I know I'm behind the times still) and I've got this strange behaviour: in unit1.cpp i've got myfunc() - declaration in the source file not the header in unit2.cpp i've got another myfunc()- declaration in the source file not the header any calls to myfunc from unit2 go to the function in unit1 I've done full recompiles, deleted .obj files. I know about namespaces but surely the local scope should always have precedent, or am I wrong?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads