mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 07:17:44 +00:00
Tried compiling with ICC9 on Linux, which raised various issues:
* Fixed some bugs with incorrect macro usage (SDL_BYTE_ORDER vs
SDL_BYTEORDER, {MSC,GCC}_VER vs {MSC,GCC}_VERSION, OS_WIN/OS_UNIX in
projects where they're not defined).
* Removed some redundant declarations of g_Console.
* Removed some unnecessary semicolons.
* Removed some unused variables.
* Added throw specification to operator new.
This was SVN commit r4698.
This commit is contained in:
@@ -195,7 +195,7 @@ JSFunctionSpec JSI_methods[] =
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
}; // anonymous namespace
|
||||
} // anonymous namespace
|
||||
|
||||
/**
|
||||
* init: called by GameSetup to register the LightEnv class with the JS engine.
|
||||
@@ -234,5 +234,5 @@ JSBool setLightEnv(JSContext* cx, JSObject* UNUSED(obj), jsval UNUSED(id), jsval
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
}; // namespace JSI_LightEnv
|
||||
} // namespace JSI_LightEnv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user