BinarySpike
2005.08.21, 06:58 PM
I keep getting a stupid syntax error...... "syntax error before `long'"
Here's the code:
http://pastebin.com/342587
here's all the errors I get:
main.c:24: parse error before `long'
main.c:32: warning: implicit declaration of function `aglDeystroyPixelFormat'
main.c:32: `pixelFormat' undeclared (first use in this function) (Each undeclared identifier is reported only once for each function it appears in.)
main.c:35: parse error before `short'
main.c:46: `bufferRect' undeclared (first use in this function)
main.c:46: `left' undeclared (first use in this function)
main.c:47: `bottom' undeclared (first use in this function)
main.c:48: `width' undeclared (first use in this function)
main.c:49: `height' undeclared (first use in this function)
main.c:51: `context' undeclared (first use in this function)
Build failed (9 errors, 1 warning)
Here's the code:
http://pastebin.com/342587
here's all the errors I get:
main.c:24: parse error before `long'
main.c:32: warning: implicit declaration of function `aglDeystroyPixelFormat'
main.c:32: `pixelFormat' undeclared (first use in this function) (Each undeclared identifier is reported only once for each function it appears in.)
main.c:35: parse error before `short'
main.c:46: `bufferRect' undeclared (first use in this function)
main.c:46: `left' undeclared (first use in this function)
main.c:47: `bottom' undeclared (first use in this function)
main.c:48: `width' undeclared (first use in this function)
main.c:49: `height' undeclared (first use in this function)
main.c:51: `context' undeclared (first use in this function)
Build failed (9 errors, 1 warning)