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:
Ykkrosh
2006-12-16 01:01:15 +00:00
parent 173c56140c
commit 13f2e3ca0c
45 changed files with 60 additions and 78 deletions
@@ -27,8 +27,7 @@ JSBool JSI_Selection::setSelection( JSContext* cx, JSObject* UNUSED(obj),
}
JSObject* selectionArray = JSVAL_TO_OBJECT( *vp );
UNUSED2(selectionArray);
EntityCollection::CJSCollectionData* Info = (EntityCollection::CJSCollectionData*)JS_GetInstancePrivate( cx, JSVAL_TO_OBJECT( *vp ), &EntityCollection::JSI_class, NULL );
EntityCollection::CJSCollectionData* Info = (EntityCollection::CJSCollectionData*)JS_GetInstancePrivate( cx, selectionArray, &EntityCollection::JSI_class, NULL );
if( !Info )
{