build on Xcode 4.2
in CXMeshFileLoader.cpp
f32 CXMeshFileLoader::readFloat()
//const f32 tmp = *(f32 *)P; //run fail~~
//need change to
f32 tmp;
memcpy(&tmp, P, 4);
xcode can not build section
xcode can not build section
Last edited by feelthat on Sat Aug 29, 2015 7:29 pm, edited 1 time in total.
Re: xcode can not build section
Which error do you get?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: xcode can not build section
sorry
is run error not build error
can not get correct value~~~
is run error not build error
can not get correct value~~~
CuteAlien wrote:Which error do you get?
Re: xcode can not build section
But why would it be wrong? This looks suspicious - maybe not yet the real bug. Because if the rest works as it should your code should not get another result with your change. Unless I'm not seeing it.
Also if this is wrong then we have a lot more places where it's wrong.
Also if this is wrong then we have a lot more places where it's wrong.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm