Hi!
I just wanted to try Pawn Script and the examples somehow don't work.
I have an embedded linux currently without cmake so I just wrote a simple makefile with the paramters I found in CMakeLists.txt (output attached)
pawncc and pawnrun compile but when I try to compile "examples/hello.p" I get:
----
# ./pawncc examples/hello.p
Pawn compiler 4.0.4733 Copyright (c) 1997-2012, ITB CompuPhase
/home/developer/pawn/include/console.inc(33) : error 025: function heading differs from prototype
1 Error.
----
when I just comment out the "forward @keypressed(key);" in "include/console.inc" (which I don't need for "hello" obviously)
then hello.p seems to work
----
# ./pawncc examples/hello.p
Pawn compiler 4.0.4733 Copyright (c) 1997-2012, ITB CompuPhase
# ./pawnrun hello.amx
Hello world
Run time: 0.00 seconds
----
but faculty.p fails with the same problem:
----
# ./pawncc examples/faculty.p
Pawn compiler 4.0.4733 Copyright (c) 1997-2012, ITB CompuPhase
examples/faculty.p(11) : error 025: function heading differs from prototype
1 Error.
----
I tried changing "optimization level", verbosity and other options without success
Can someone help?
Regards
Flo