SA-MP Forums Archive
C++ error: expected identifier before numeric constant - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: C++ error: expected identifier before numeric constant (/showthread.php?tid=356765)



C++ error: expected identifier before numeric constant - Mauzen - 04.07.2012

Hi
I got a fast and short question that I just cant solve by googling.

Heres the relevant code: http://pastebin.com/xvMmBuLE

In Visual Studio 2010 it compiles fine without problems.
But when trying to compile it on my CentOS 5 machine it gives these errors:
Код:
RNPC.h:19: Fehler: expected identifier before numeric constant
RNPC.h:19: Fehler: expected unqualified-id before numeric constant
Followed by some more, which seem to be a result of these ones, as the class isnt available. Im really out of ideas. Maybe someone with more c++ experience knows that problem.

Edit: Im stupid like shit, had a define for RNPC in the makefile, sorry.
Any mod feel free to delete this, or just let it catch some dust.