Home » Community » U++ community news and announcements » U++/Win32 is now using CLANG toolchain
Re: U++/Win32 is now using CLANG toolchain [message #53293 is a reply to message #53291] |
Thu, 26 March 2020 17:26 |
Tom1
Messages: 1217 Registered: March 2007
|
Senior Contributor |
|
|
And here's finally the solution to this game. Had to add fake functions to satisfy the dependencies. I know these functions do not do anything, but I decided not to really need those anyway...
#ifdef __MINGW32__
extern "C"{
void __cdecl __GSHandlerCheck() { }
void __cdecl __security_check_cookie(uintptr_t i) { }
void __cdecl __chkstk() { }
void __cdecl __report_rangecheckfailure() { }
void __cdecl _fltused() { }
WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned) { return false; }
WINBOOL WINAPI OpenPrinterA(LPSTR pPrinterName,LPHANDLE phPrinter,LPPRINTER_DEFAULTSA pDefault) { return false; }
WINBOOL WINAPI SetPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD Command) { return false; }
WINBOOL WINAPI ClosePrinter(HANDLE hPrinter) { return false; }
}
#endif //__MINGW32__
One more library to go... with a different challenge.
Best regards,
Tom
|
|
|
|
|
U++/Win32 is now using CLANG toolchain
By: mirek on Mon, 02 March 2020 00:38
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Xemuth on Mon, 02 March 2020 08:55
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: koldo on Mon, 02 March 2020 10:33
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Mon, 02 March 2020 12:19
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Novo on Tue, 03 March 2020 20:57
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 04 March 2020 09:37
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: koldo on Wed, 04 March 2020 14:09
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 04 March 2020 14:16
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Tue, 24 March 2020 20:05
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Tue, 24 March 2020 21:30
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 08:57
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 12:41
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 12:52
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 13:00
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 13:24
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 14:28
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 15:37
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 17:50
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 26 March 2020 11:40
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 12:00
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 16:55
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 17:26
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 26 March 2020 18:39
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 18:57
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 26 March 2020 22:24
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Thu, 13 August 2020 12:13
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 13 August 2020 14:20
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Thu, 13 August 2020 16:50
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Tue, 18 August 2020 20:31
|
|
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 19 August 2020 09:16
|
Goto Forum:
Current Time: Mon Jun 17 09:19:50 CEST 2024
Total time taken to generate the page: 0.02649 seconds
|