maxmods / bah.mod

A collection of BlitzMax modules by Brucey
25 stars 17 forks source link

bah.appstub / bah.appstubrdb error #62

Closed xlsior75 closed 6 years ago

xlsior75 commented 6 years ago

bah.appstub and bah.appstubrdb both mods compile in release (Win, GCC 8.1, latest bmk/bcc/brl.mod/etc), but throw a ton of errors when trying to compile in debug, both x64 and x86:

Building x64 Debug [ 80%] Compiling:debugger.stdio.bmx.debug.win32.x64.c [ 85%] Compiling:appstub.bmx.debug.win32.x64.c [ 87%] Compiling:debugger.tcp.bmx.debug.win32.x64.c [ 88%] Compiling:appstubrdb.bmx.debug.win32.x64.c In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:8:25: error: conflicting types for 'GetForegroundWindow' extern BBINT stdcall GetForegroundWindow(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:72, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:3358:26: note: previous declaration of 'GetForegroundWindow' was here WINUSERAPI HWND WINAPI GetForegroundWindow(VOID); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:57:25: error: conflicting types for 'IsIconic' extern BBINT stdcall IsIconic(BBINT bbt_hwnd); ^~~~ In file included from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:72, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:2238:29: note: previous declaration of 'IsIconic' was here WINUSERAPI WINBOOL WINAPI IsIconic (HWND hWnd); ^~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:58:25: error: conflicting types for 'ShowWindow' extern BBINT stdcall ShowWindow(BBINT bbt_hwnd,BBINT bbt_cmdShow); ^~~~~~ In file included from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:72, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:2147:29: note: previous declaration of 'ShowWindow' was here WINUSERAPI WINBOOL WINAPI ShowWindow(HWND hWnd,int nCmdShow); ^~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:61:9: error: conflicting types for 'bbOnDebugStop' BBINT( bbOnDebugStop)(); ^~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:13:8: note: previous declaration of 'bbOnDebugStop' was here void( bbOnDebugStop)(); ^~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:63:9: error: conflicting types for 'bbOnDebugLog' BBINT( bbOnDebugLog)(BBSTRING); ^~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:14:8: note: previous declaration of 'bbOnDebugLog' was here void( bbOnDebugLog)(BBSTRING); ^~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:65:9: error: conflicting types for 'bbOnDebugEnterStm' BBINT( bbOnDebugEnterStm)(BBINT); ^~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:66:15: note: previous declaration of 'bbOnDebugEnterStm' was here extern void (bbOnDebugEnterStm)( BBDebugStm stm ); ^~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:67:9: error: conflicting types for 'bbOnDebugEnterScope' BBINT( bbOnDebugEnterScope)(BBINT,BBBYTE); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:67:15: note: previous declaration of 'bbOnDebugEnterScope' was here extern void (bbOnDebugEnterScope)( BBDebugScope scope );//,void inst ); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:69:9: error: conflicting types for 'bbOnDebugLeaveScope' BBINT( bbOnDebugLeaveScope)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:68:15: note: previous declaration of 'bbOnDebugLeaveScope' was here extern void (bbOnDebugLeaveScope)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:92:9: error: conflicting types for 'bbOnDebugPushExState' BBINT( bbOnDebugPushExState)(); ^~~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:69:15: note: previous declaration of 'bbOnDebugPushExState' was here extern void (bbOnDebugPushExState)(); ^~~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:94:9: error: conflicting types for 'bbOnDebugPopExState' BBINT( bbOnDebugPopExState)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:70:15: note: previous declaration of 'bbOnDebugPopExState' was here extern void (bbOnDebugPopExState)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:96:9: error: conflicting types for 'bbOnDebugUnhandledEx' BBINT( bbOnDebugUnhandledEx)(BBOBJECT); ^~~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:71:15: note: previous declaration of 'bbOnDebugUnhandledEx' was here extern void (bbOnDebugUnhandledEx)( BBObject *ex ); ^~~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:97:25: error: conflicting types for 'SetForegroundWindow' extern BBINT stdcall SetForegroundWindow(BBINT bbt_hwnd); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:72, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:3361:29: note: previous declaration of 'SetForegroundWindow' was here WINUSERAPI WINBOOL WINAPI SetForegroundWindow(HWND hWnd); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:98:25: error: conflicting types for 'GetCurrentThreadId' extern BBINT __stdcall GetCurrentThreadId(); ^~~~~~ In file included from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winbase.h:29, from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:70, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/processthreadsapi.h:158:27: note: previous declaration of 'GetCurrentThreadId' was here WINBASEAPI DWORD WINAPI GetCurrentThreadId (VOID); ^~~~~~ c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:477:16: error: 'brl_blitz_NullFunctionError' redeclared as different kind of symbol extern BBBYTE* brl_blitz_NullFunctionErrorIn file included from ; c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5^~~~~~~, from In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4:

             from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:8:25:c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1

error: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:172:6:conflicting types for ' GetForegroundWindownote: ' extern BBINT __stdcall GetForegroundWindowbrl_blitz_NullFunctionError();

void ^~~~~~~brl_blitz_NullFunctionError (); In file included from ws.h:72 , from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:478:15:c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7 , from error: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28conflicting types for ', from bbNullObjectc:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4' extern BBBYTE , from bbNullObjectc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4; , from ^~~~c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1 : In file included from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:3358:26:c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:36 , from note: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4previous declaration of ', from GetForegroundWindowc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4' was here WINUSERAPI HWND WINAPI , from GetForegroundWindowc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1(VOID); : ^~~~~~~c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_object.h:61:17: In file included from note: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5previous declaration of ', from bbNullObjectc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1' was here extern BBObject : bbNullObjectc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:57:25:; ^~~~error: conflicting types for 'IsIconicc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:479:15:' extern BBINT __stdcall IsIconicerror: (BBINT bbt_hwnd); conflicting types for '^~~~bbEmptyArray ' extern BBBYTE In file included from bbEmptyArrayc:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:72; , from ^~~~c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7 , from In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:38, from , from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from , from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from , from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1: : c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:2238:29:c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_array.h:31:17: note: note: previous declaration of 'previous declaration of 'IsIconicbbEmptyArray' was here WINUSERAPI WINBOOL WINAPI ' was here extern BBArray IsIconicbbEmptyArray (HWND hWnd); ; ^~^~~~~~

In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:480:15:, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1error: : conflicting types for 'c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:58:25:bbEmptyString ' extern BBBYTE error: bbEmptyStringconflicting types for '; ShowWindow^~~~~' extern BBINT __stdcall In file included from ShowWindowc:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:37(BBINT bbt_hwnd,BBINT bbt_cmdShow);

             from ^~~~~~~~~~c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4

In file included from , from c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/windows.h:72c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4, from , from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_thread.h:7c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1, from : c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:28c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_string.h:20:17:, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4note: , from previous declaration of 'c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4bbEmptyString, from ' was here extern BBString c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1bbEmptyString: ; c:/code/BlitzmaxNG810/MinGW32x64/x86_64-w64-mingw32/include/winuser.h:2147:29:^~~~~ note: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:481:15:previous declaration of ' ShowWindowerror: ' was here WINUSERAPI WINBOOL WINAPI conflicting types for 'ShowWindowbbStringClass(HWND hWnd,int nCmdShow);

extern BBBYTE ^~~~~~bbStringClass In file included from ; c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5^~~~~, from In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:37:

             from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:61:9:c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4
             from error: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4conflicting types for '
             from bbOnDebugStopc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1'

BBINT( bbOnDebugStopc:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_string.h:19:16:)(); ^~~~~note: In file included from previous declaration of 'c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4bbStringClass, from ' was here extern BBClass c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1bbStringClass: ; c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:13:8:^~~~~ note: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:482:15:previous declaration of ' bbOnDebugStoperror: ' was here void( bbOnDebugStopbbArrayClass)();

extern BBBYTE ^~~~~bbArrayClass In file included from ; c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5^~~~, from In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:38:

             from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:63:9:c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4
             from error: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:4conflicting types for '
             from bbOnDebugLogc:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c:1'

BBINT( : bbOnDebugLogc:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_array.h:30:17:)(BBSTRING); ^~~~note: In file included from previous declaration of 'c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4bbArrayClass, from ' was here extern BBClass c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1bbArrayClass: ; c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:14:8:^~~~ note: previous declaration of 'bbOnDebugLog' was here void( bbOnDebugLog)(BBSTRING); ^~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:65:9: error: conflicting types for 'bbOnDebugEnterStm' BBINT( bbOnDebugEnterStm)(BBINT); ^~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:66:15: note: previous declaration of 'bbOnDebugEnterStm' was here extern void (bbOnDebugEnterStm)( BBDebugStm stm ); ^~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:67:9: error: conflicting types for 'bbOnDebugEnterScope' BBINT( bbOnDebugEnterScope)(BBINT,BBBYTE); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:67:15: note: previous declaration of 'bbOnDebugEnterScope' was here extern void (bbOnDebugEnterScope)( BBDebugScope scope );//,void inst ); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:69:9: error: conflicting types for 'bbOnDebugLeaveScope' BBINT( bbOnDebugLeaveScope)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:68:15: note: previous declaration of 'bbOnDebugLeaveScopeBuild Error: failed to compile (1) c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.c' was here extern void (bbOnDebugLeaveScope)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:92:9: error: conflicting types for 'bbOnDebugPushExState' BBINT( bbOnDebugPushExState)(); ^~~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:69:15: note: previous declaration of 'Done. bbOnDebugPushExState' was here extern void (bbOnDebugPushExState)(); ^~~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:5, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/debugger.stdio.bmx.debug.win32.x64.h:94:9: error: conflicting types for 'bbOnDebugPopExState' BBINT( bbOnDebugPopExState)(); ^~~~~~~ In file included from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz.h:33, from c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.h:4, from c:/code/BlitzmaxNG810/mod/bah.mod/appstub.mod/.bmx/appstub.bmx.debug.win32.x64.c:1: c:/code/BlitzmaxNG810/mod/brl.mod/blitz.mod/blitz_debug.h:70:15: note: previous declaration of 'bbOnDebugPopExState' was here extern void (bbOnDebugPopExState)();

woollybah commented 6 years ago

I've disabled them for NG, for now. They need a new implementation since the core's a bit different on NG.