exit craziness

Started by
1 comment, last by Rayno 18 years, 9 months ago
So I change a parameter to one of my functions, recompile, and it spits out a bunch of errors. Every single place where I referenced the "exit" function, it gives this error:

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdlib(22):
error C2039: 'exit' : is not a member of 'operator``global namespace'''
I've referenced that function since the beginning of my project almost a year ago and never had this trouble. What's going on?
Advertisement
I'd venture at a guess that something you changed is causing a syntax error -- something like an extra or missing or misplaced special character (curly bracket, semicolon, colon, parenthesis).
{[JohnE, Chief Architect and Senior Programmer, Twilight Dragon Media{[+++{GCC/MinGW}+++{Code::Blocks IDE}+++{wxWidgets Cross-Platform Native UI Framework}+++
Check if you accidentally included any headers in a namespace. Like
namespace MyNamespace{#include <iostream>/...}


That can cause problems like that.

This topic is closed to new replies.

Advertisement