bmx-ng / bcc

A next-generation bcc parser for BlitzMax
zlib License
33 stars 12 forks source link

undeclared (first use in this function); did you mean when attempting to build maxide on win 10 x64 #549

Closed braxtonrivers closed 3 years ago

braxtonrivers commented 3 years ago

When using the current latest bcc[ng] Release Version 0.131 from git with release BlitzMax_win32_0.129.3.45 and updated git modules, attempting to build maxide currently results in the following.

Using the debugger points to these incbin lines.

Line 6734: toolbar=CreateToolBar("incbin::toolbar" + tbSize + ".png",0,0,0,0,window )

Line 6738: TWindowsToolbar(toolbar).CreateAndSetDisabledIconStrip(LoadPixmap("incbin::toolbar" + tbSize + ".png"), 0.1, 0.4)

Bug Report

Building maxide [ 94%] Processing:maxide.bmx [ 96%] Compiling:maxide.bmx.release.win32.x64.incbin2.c [ 98%] Compiling:maxide.bmx.gui.release.win32.x64.c D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c: In function '_bb_main': D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20430:16: error: '_s3' undeclared (first use in this function); did you mean '_s83'? bbIncbinAdd(&_s3,&_ib_bb_main_1_data,_ib_bb_main_1_size); ^~~ _s83 D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20430:16: note: each undeclared identifier is reported only once for each function it appears in D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20431:16: error: '_s4' undeclared (first use in this function); did you mean '_s84'? bbIncbinAdd(&_s4,&_ib_bb_main_2_data,_ib_bb_main_2_size); ^~~ _s84 D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20432:16: error: '_s5' undeclared (first use in this function); did you mean '_s85'? bbIncbinAdd(&_s5,&_ib_bb_main_3_data,_ib_bb_main_3_size); ^~~ _s85 D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20433:16: error: '_s6' undeclared (first use in this function); did you mean '_s67'? bbIncbinAdd(&_s6,&_ib_bb_main_4_data,_ib_bb_main_4_size); ^~~ _s67 D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20434:16: error: '_s7' undeclared (first use in this function); did you mean '_s67'? bbIncbinAdd(&_s7,&_ib_bb_main_5_data,_ib_bb_main_5_size); ^~~ _s67 D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c:20435:16: error: '_s8' undeclared (first use in this function); did you mean '_s28'? bbIncbinAdd(&_s8,&_ib_bb_main_6_data,_ib_bb_main_6_size); ^~~ _s28 Build Error: failed to compile (1) D:/BlitzMaxNG/git/maxide/.bmx/maxide.bmx.gui.release.win32.x64.c Process complete

Environment