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

C / C++ / MFC

 
Generaltwo error Pin
Goh Hui Beng3-Feb-04 7:40
Goh Hui Beng3-Feb-04 7:40 
GeneralRe: two error Pin
Joe Woodbury3-Feb-04 7:55
professionalJoe Woodbury3-Feb-04 7:55 
GeneralRe: two error Pin
sps-itsec463-Feb-04 9:22
sps-itsec463-Feb-04 9:22 
General(edited) namepsaces: using ns::X and using namespace ns Pin
peterchen3-Feb-04 7:38
peterchen3-Feb-04 7:38 
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 
John M. Drescher wrote:
Is the function f() defined in any other namespace or the global namespace?

No
(I made an "empty" Windows console application to test that)

The problem occurs only if both using statements are there - but unfortunately, I almost can't avoid that.

it's amout std::min and std::max

I've got a library that tries to override the #define min / max in windef.h by using #defining NOMINMAX and using std::min; using std::max

This works well - until there's a .cpp (or a function) that a) says using namespace std and b) uses min and/or max




Flirt harder, I'm a coder.

mlog || Agile Programming | doxygen

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 
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 

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.