Anonymous namespace clashes
Anonymous namespace clashes
- Subject: Anonymous namespace clashes
- From: Paul Walmsley <email@hidden>
- Date: Fri, 26 Jan 2007 09:39:19 +0000
I've just experienced a problem with anonymous namespaces. I have two
source files, each with a couple of private functions and variables in
an anonymous namespace. Some of these happen to have the same name. I
get a 'multiply-defined symbol' error on linking. Surely - if my
understanding is correct - this shouldn't happen since anonymous
namespaces are local to the translation unit?
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden