PDA

View Full Version : decode.cpp:62: error:...



Chyran
10-28-2002, 02:24 PM
decode.cpp: In constructor `EQDecode::EQDecode(QObject*, const char*)':
decode.cpp:62: error: integer constant is too large for "long" type
decode.cpp: In member function `void EQDecode::ResetDecoder()':
decode.cpp:145: error: integer constant is too large for "long" type
decode.cpp: In member function `void EQDecode::LocateKey()':
decode.cpp:157: error: integer constant is too large for "long" type
make[3]: *** [decode.o] Error 1

I get this error everytime. I already tried to delete everything and re-downloaded and redid everything, but the same error. Before PoP, I had no problems to compile. (I have the newest libEQ.a)

I have no problem to fix this myself to be able to compile, in the decode.cpp I can change
m_decodeKey = 0xffffffffffffffff;
to
m_decodeKey = 0xffffffff;
then I can compile, but I see only myself and the information about all other mobs and players is incorrect or unknown.

I use gcc 3.3 (self compiled) and SuSE Linux 8.0.

Can anybody point me to the solution?

Dedpoet
10-28-2002, 02:34 PM
I don't think I've seen anyone running Seq under Gcc 3.3 yet...I really don't think it's supported. 3.1 and 3.2 work well though, so there may be something funky in 3.3 that isn't compatible.

Chyran
10-28-2002, 03:21 PM
well... the last version before pop compiled and ran without problems... :/

high_jeeves
10-28-2002, 03:38 PM
it appears that gcc3.3 doesnt support 64-bit numbers the same way as previous versions, so it wont work. Downgrade.

--Jeeves

Chyran
10-28-2002, 03:42 PM
doh, ok :o(
thanks though