Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: namepsaces: using ns::X and using namespace ns Pin
John M. Drescher3-Feb-04 7:43
John M. Drescher3-Feb-04 7:43 
GeneralRe: namepsaces: using ns::X and using namespace ns Pin
peterchen3-Feb-04 8:55
peterchen3-Feb-04 8:55 
GeneralRe: namepsaces: using ns::X and using namespace ns Pin
John M. Drescher3-Feb-04 8:57
John M. Drescher3-Feb-04 8:57 
GeneralRe: namepsaces: using ns::X and using namespace ns Pin
peterchen3-Feb-04 9:38
peterchen3-Feb-04 9:38 
GeneralRe: namepsaces: using ns::X and using namespace ns Pin
Michael Dunn3-Feb-04 8:50
sitebuilderMichael Dunn3-Feb-04 8:50 
GeneralRe: namepsaces: using ns::X and using namespace ns Pin
peterchen3-Feb-04 8:57
peterchen3-Feb-04 8:57 
GeneralRe: (edited) namepsaces: using ns::X and using namespace ns Pin
Joaquín M López Muñoz3-Feb-04 9:48
Joaquín M López Muñoz3-Feb-04 9:48 
GeneralRe: (edited) namepsaces: using ns::X and using namespace ns Pin
peterchen3-Feb-04 11:06
peterchen3-Feb-04 11:06 
yep, it fails. Error Message is
error C2668: 'f' : ambiguous call to overloaded function

I used an Windows Console Application / Empty Project, added a single .cpp and the following code:

namespace minsk
{
	void f();
};

using minsk::f;
using namespace minsk;

int main()
{
	f();
	return 0;
}


so there is just this, nothing else (and standard project settings).

I can work around my problem for the current build environment, just it would be good to know if this is "normal" or just a VC6 bug




Flirt harder, I'm a coder.

mlog || Agile Programming | doxygen

GeneralRe: (edited) namepsaces: using ns::X and using namespace ns Pin
Joaquín M López Muñoz3-Feb-04 11:15
Joaquín M López Muñoz3-Feb-04 11:15 
Generalget date stamp on current running exe Pin
rayjoslyn3-Feb-04 7:14
rayjoslyn3-Feb-04 7:14 
GeneralRe: get date stamp on current running exe Pin
Ravi Bhavnani3-Feb-04 9:58
professionalRavi Bhavnani3-Feb-04 9:58 
GeneralRe: get date stamp on current running exe Pin
Jesse Evans5-Feb-04 12:18
Jesse Evans5-Feb-04 12:18 
GeneralError Pin
Goh Hui Beng3-Feb-04 7:02
Goh Hui Beng3-Feb-04 7:02 
GeneralRe: Error Pin
sps-itsec463-Feb-04 12:19
sps-itsec463-Feb-04 12:19 
GeneralMDI Question... Pin
RobJones3-Feb-04 6:32
RobJones3-Feb-04 6:32 
GeneralRe: MDI Question... Pin
Neville Franks3-Feb-04 10:31
Neville Franks3-Feb-04 10:31 
GeneralRe: MDI Question... Pin
RobJones4-Feb-04 3:17
RobJones4-Feb-04 3:17 
GeneralGetPrivateProfileString() Pin
Goh Hui Beng3-Feb-04 6:24
Goh Hui Beng3-Feb-04 6:24 
GeneralRe: GetPrivateProfileString() Pin
Rickard Andersson203-Feb-04 6:50
Rickard Andersson203-Feb-04 6:50 
GeneralRe: GetPrivateProfileString() Pin
Goh Hui Beng3-Feb-04 7:07
Goh Hui Beng3-Feb-04 7:07 
GeneralRe: GetPrivateProfileString() Pin
Rickard Andersson203-Feb-04 7:10
Rickard Andersson203-Feb-04 7:10 
GeneralRe: GetPrivateProfileString() Pin
Goh Hui Beng3-Feb-04 7:21
Goh Hui Beng3-Feb-04 7:21 
GeneralRe: GetPrivateProfileString() Pin
RobJones3-Feb-04 7:25
RobJones3-Feb-04 7:25 
GeneralRe: GetPrivateProfileString() Pin
Rickard Andersson203-Feb-04 7:39
Rickard Andersson203-Feb-04 7:39 
GeneralRe: GetPrivateProfileString() Pin
Goh Hui Beng3-Feb-04 7:48
Goh Hui Beng3-Feb-04 7:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.