Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
Some Compile Error
Author Message
Talus Offline
Junior Member

Posts: 11
Joined: Jun 2011
Reputation: 0
Post: #3
RE: Some Compile Error

Yep
I'm treating warnings as error

I have change my compiler setting

but I have a new errors :

Quote:sources\graphics\FontData.cpp||In member function 'void hpl::iFontData::Draw(const hpl::cVector3f&, const hpl::cVector2f&, const hpl::cColor&, hpl::eFontAlign, const wchar_t*, ...)':|
sources\graphics\FontData.cpp|96|error: invalid conversion from 'int' to 'const wchar_t*'|
sources\graphics\FontData.cpp|96|error: cannot convert 'const wchar_t*' to 'char*' for argument '3' to 'int vswprintf(wchar_t*, const wchar_t*, char*)'|
sources\graphics\FontData.cpp|101|warning: unused variable 'lXAdd'|
sources\graphics\FontData.cpp||In member function 'float hpl::iFontData::GetLength(const hpl::cVector2f&, const wchar_t*)':|
sources\graphics\FontData.cpp|294|warning: unused variable 'lXAdd'|
sources\graphics\FontData.cpp||In member function 'float hpl::iFontData::GetLengthFmt(const hpl::cVector2f&, const wchar_t*, ...)':|
sources\graphics\FontData.cpp|329|error: invalid conversion from 'int' to 'const wchar_t*'|
sources\graphics\FontData.cpp|329|error: cannot convert 'const wchar_t*' to 'char*' for argument '3' to 'int vswprintf(wchar_t*, const wchar_t*, char*)'|

this is the code for the first error :

Quote: vswprintf(sText, 255, fmt, ap);


PS : I'm sorry for my bad english, I'm French
(This post was last modified: 06-26-2011 03:38 PM by Talus.)
06-26-2011 03:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Some Compile Error - Talus - 06-26-2011, 09:48 AM
RE: Some Compile Error - Urkle - 06-26-2011, 03:12 PM
RE: Some Compile Error - Talus - 06-26-2011 03:25 PM
RE: Some Compile Error - Talus - 06-26-2011, 07:13 PM



User(s) browsing this thread: 1 Guest(s)