From 4dae9affda754d00cd879b61bc7dd4af292d144b Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Thu, 4 Jul 2019 12:17:01 +1000 Subject: [PATCH] Update to v106r175 release. byuu says: - ruby: fullscreen support for Windows OpenGL 3.2, DirectDraw 7.0, GDI drivers - ruby: output(width, height) support for all drivers on all platforms - hiro: improve focus capture for Canvas and Viewport widgets - hiro: added two hotfixes for the macOS Cocoa target [Sintendo] - higan, bsnes: focus the viewport after leaving fullscreen exclusive mode - freebsd: moved from GCC 8.2.0 to Clang 6.0.1 - higan: added video display emulation option to Famicom and Mega Drive cores The reason I moved to Clang was because GCC keeps deadlocking my FreeBSD system. I don't know if it's GCC's fault, or suddenly running 32 copies of any high-CPU usage program, heh. But at any rate, it's worth a try. The performance is the same, but compilation takes a tiny bit longer with Clang. --- libco.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libco.c b/libco.c index 6f446971..b0f018e9 100644 --- a/libco.c +++ b/libco.c @@ -1,5 +1,9 @@ #if defined(__clang__) #pragma clang diagnostic ignored "-Wparentheses" + + //placing code in section(text) does not mark it executable with Clang. + #undef LIBCO_MPROTECT + #define LIBCO_MPROTECT #endif #if defined(__clang__) || defined(__GNUC__)