Skip to main content
gamedev.net
🔒 Locked

C2039 Error

Started by Running_Wolf 0 replies 800+ views
Original Post
Running_Wolf
Running_Wolf
When trying to compile I keep getting this error. And MSDN's documentation hasn't been all that helpful. error C2039: 'fpos_t':is not a member of 'operator''global namespace'" Here is what I am doing. Header File: namespace A { class Log { void Log(char *text); }; } Source File: namespace A { void Log::Log(char *text) { //not yet implemented. } }
L.I.G. == Life Is Good
Running_Wolf
Running_Wolf
Solved my own problem. And, of course, I figure it out after I've posted a question. The problem was that I was including string and other stl stuff inside my namespaces.
L.I.G. == Life Is Good

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.