I can't see any solution, if I use this:
#define swprintf swprintf_s
I get errors about swprintf not being declared in that scope
and without it the same errors...
how frustrating.
EDIT:
Somehow redefining it into
#define swprintf _snwprintf
helped a lot, now I just need to fix glitches I produced
Code: Select all
C:\FPRPG\main.cpp||In member function 'void Q3Player::create(irr::IrrlichtDevice*, irr::scene::IQ3LevelMesh*, irr::scene::ISceneNode*, irr::scene::IMetaTriangleSelector*)':|
C:\FPRPG\main.cpp|291|warning: unused variable 'driver'|
C:\FPRPG\main.cpp||In member function 'void Q3Player::respawn()':|
C:\FPRPG\main.cpp|388|warning: operation on '((Q3Player*)this)->Q3Player::StartPositionCurrent' may be undefined|
C:\FPRPG\main.cpp||In member function 'virtual bool CQuake3EventHandler::OnEvent(const irr::SEvent&)':|
C:\FPRPG\main.cpp|1300|error: 'loadMap' was not declared in this scope|
C:\FPRPG\main.cpp|1451|error: expected '}' before 'else'|
C:\FPRPG\main.cpp|1459|error: expected unqualified-id before 'if'|
C:\FPRPG\main.cpp|1462|error: expected unqualified-id before 'if'|
C:\FPRPG\main.cpp|1473|error: expected declaration before '}' token|
||=== Build finished: 5 errors, 2 warnings ===|
well, except the loadMap thingy....