Sign in to follow this  
badderjet

Compiler errors... still

Recommended Posts

Please check if this darn file has ANY errors, the compiler reports some errors which should be in this file:char yeah_gauge_name[] = GAUGE_NAME;extern PELEMENT_HEADER yeah_list;extern MOUSERECT yeah_mouse_rect[];GAUGE_HEADER_FS700(GAUGE_W, yeah_gauge_name, &yeah_list, yeah_mouse_rect,0,0,0,0);MOUSE_BEGIN(yeah_mouse_rect,0,0,0)MOUSE_ENDMAKE_STATIC( yeah_background, BMP_BACKGROUND, NULL, NULL, IMAGE_USE_TRANSPARENCY | IMAGE_USE_ERASE, 0, 0, 0 )PELEMENT_HEADER yeah_list = yeah_background.header;#undef GAUGE_NAME#undef GAUGEHDR_VAR_NAME#undef GAUGE_WThanks in advance.http://flightsimmers.net/airport/etti/signature_pro.jpg

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

But which compiler errors?At first sight I'd say it must bePELEMENT_HEADER yeah_list = &yeah_background.header;or it is again the usual "&" sallowing of the website.Arne Bartels

Share this post


Link to post
Share on other sites

Oh cool, that was one error, fixed now, thanks Arne! :-hahOk the other errors are all referring to line 4 which isGAUGE_HEADER_FS700(GAUGE_W, yeah_gauge_name, &yeah_list, yeah_mouse_rect,0,0,0,0);E:BorlandBCC55Bin>makeMAKE Version 5.2 Copyright © 1987, 2000 Borland bcc32 -O2 -w-par -q -tWD -c test.ctest.c:Error E2188 test.yeah.c 4: Expression syntaxError E2141 test.yeah.c 4: Declaration syntax errorError E2190 test.yeah.c 4: Unexpected }Error E2190 test.yeah.c 4: Unexpected }*** 4 errors in Compile ***** error 1 ** deleting test.objYour help is extremly appreciated, as usual!http://flightsimmers.net/airport/etti/signature_pro.jpg

Share this post


Link to post
Share on other sites

Ahhhhh!!!! GODDAMN!I knew it since the compiler gave me these incomprehensible 'errors' regarding GAUGE_HEADER_FS700. That could'nt be. I took a working sample gauge, and crosschecked every single file, byte for byte, no difference. BUt after maaaany hours of searching, trying around, ##### there it is:In my test.c it read before:#define GAUGE_Wbut should be...#define GAUGE_W 100That's it, prob solved. :-hahhttp://flightsimmers.net/airport/etti/signature_pro.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this