I've tested 1474 revision.
it seems all works properly.....
The comments are correct from now
Fake warnings about memory leaks went away...although
There is a lot of warnings about comparison between signed and unsigned integer expressions
for example in scriptsstdstrings.cpp:
bool leftJustify = options.find("l") != -1;
I also wrote earlier so because it is very short and convenient way. But marmalade gcc compiler doesn't like such scriptures.
It wants something like this:
bool leftJustify = options.find("l") != std::string::npos;
or at least
bool leftJustify = options.find("l") != 0xFFFFFFFF;
Those warnings can be boldly ignored
But their count is significant and
between them may be overlooked some important warnings
PS. MS VS compiler silently permits those comparisons.
opEquals now doen't work
If you can post the full compiler output I'll gladly take a look at it and fix what I can. Some compiler are overly critical on the code, but usually it is just smaller adjustments needed to make the compiler happy.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Notice also
as_scriptengine.cpp(3586): warning : 'stdcall' attribute directive ignored
as_scriptengine.cpp(3586): warning : 'stdcall' attribute directive ignored
1>------ Build started: Project: TheStack_vc10, Configuration: GCC ARM Release Win32 ------
1>Build started 11/20/2012 12:23:54 PM.
1>InitializeBuildStatus:
1> Creating "Release_TheStack_vc10_gcc_arm\TheStack_vc10.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1> All outputs are up-to-date.
1>ClCompile:
1> ARM Compiling(GCC) d:\bumper\_prj\_thestack\src\age\3rd_party\angelscript\source\as_scriptengine.cpp ...
1> d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp( In member function 'void* asCScriptEngine) ::CallGlobalFunctionRetPtr(asSSystemFunctionInterface*, asCScriptFunction*)':
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3586): warning : 'stdcall' attribute directive ignored
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3586): warning : 'stdcall' attribute directive ignored
1>
1>
1> d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp( In member function 'void* asCScriptEngine) ::CallGlobalFunctionRetPtr(asSSystemFunctionInterface*, asCScriptFunction*, void*)':
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3607): warning : 'stdcall' attribute directive ignored
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3607): warning : 'stdcall' attribute directive ignored
1>
1>
1> d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp( In member function 'void asCScriptEngine) ::CallGlobalFunction(void*, void*, asSSystemFunctionInterface*, asCScriptFunction*)':
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3707): warning : 'stdcall' attribute directive ignored
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3707): warning : 'stdcall' attribute directive ignored
1>
1>
1> d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp( In member function 'bool asCScriptEngine) ::CallGlobalFunctionRetBool(void*, void*, asSSystemFunctionInterface*, asCScriptFunction*)':
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3727): warning : 'stdcall' attribute directive ignored
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/source/as_scriptengine.cpp(3727): warning : 'stdcall' attribute directive ignored
1>
1>
1> d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp( In function '_STL) ::string formatInt(asINT64, const _STL::string&, asUINT)':
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(344): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(345): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(346): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(347): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(348): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(349): warning : comparison between signed and unsigned integer expressions
1>
1>
1> d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp( In function '_STL) ::string formatFloat(double, const _STL::string&, asUINT, asUINT)':
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(388): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(389): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(390): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(391): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(392): warning : comparison between signed and unsigned integer expressions
1>
1>
1>d:/bumper/_prj/_thestack/src/age/3rd_party/angelscript/add_on/scriptstdstring/scriptstdstring.cpp(393): warning : comparison between signed and unsigned integer expressions
1>
1>
1>Link:
1> ARM Linking(GCC) ...
1> TheStack_vc10.vcxproj -> d:\Bumper\_Prj\_TheStack\bin\TheStack.s3e
1>PostBuildEvent:
1> D:\Marmalade\6.1\s3e\python\python.exe .\process_map.py "d:\Bumper\_Prj\_TheStack\bin\TheStack.s3e"
1>FinalizeBuildStatus:
1> Deleting file "Release_TheStack_vc10_gcc_arm\TheStack_vc10.unsuccessfulbuild".
1> Touching "Release_TheStack_vc10_gcc_arm\TheStack_vc10.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:01:08.01
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Thanks. I believe I have fixed these compiler warnings in revision 1476.
Regards,
Andreas
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement