With F7 CPU and a minimal config file I get these errors(2) and warings(14
../../ugfx/src/gfx_mk.c(14): warning: In file included from...
../../ugfx/src/gfx.c(16): warning: In file included from...
../../ugfx/src/../gfx.h(7): warning: In file included from...
../../ugfx/src/gfx.h(93): warning: In file included from...
../../ugfx/src/gfx_compilers.h(624): warning: '#pragma anon_unions' is an ARM Compiler 5 extension, and is not supported by ARM Compiler 6 [-Warmcc-pragma-anon-unions]
#pragma anon_unions // Allow anonymous unions
^
../../ugfx/src/gfx_mk.c(14): warning: In file included from...
../../ugfx/src/gfx.c(16): warning: In file included from...
../../ugfx/src/gdisp/../../gfx.h(7): warning: In file included from...
../../ugfx/src/gfx.h(177): warning: In file included from...
../../ugfx/src/gdisp/gdisp.h(54): warning: redefinition of typedef 'gPoint' is a C11 feature [-Wtypedef-redefinition]
} gPoint;
^
../../ugfx/src/gmisc/gmisc.h(29): note: previous definition is here
typedef struct gPoint gPoint;
^
../../ugfx/src/gfx_mk.c(14): warning: In file included from...
../../ugfx/src/gfx.c(16): warning: In file included from...
../../ugfx/src/gwin/../../gfx.h(7): warning: In file included from...
../../ugfx/src/gfx.h(178): warning: In file included from...
../../ugfx/src/gwin/gwin.h(60): warning: redefinition of typedef 'GHandle' is a C11 feature [-Wtypedef-redefinition]
} GWindowObject, * GHandle;
^
../../ugfx/src/gwin/gwin.h(33): note: previous definition is here
typedef struct GWindowObject *GHandle;
^
../../ugfx/src/gfx_mk.c(15): warning: In file included from...
../../ugfx/src/gos/gos_mk.c(14): warning: In file included from...
../../ugfx/src/gos/gos_raw32.c(30): warning: "GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!" [-W#warnings]
#warning "GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!"
^
../../ugfx/src/gfx_mk.c(15): warning: In file included from...
../../ugfx/src/gos/gos_mk.c(21): warning: In file included from...
../../ugfx/src/gos/gos_x_threads.c(201): warning: In file included from...
../../ugfx/src/gos/gos_x_threads_cortexm47fp.h(49): error: expected identifier or '('
static __asm void _gfxTaskSwitch(thread *oldt, thread *newt) {
^
../../ugfx/src/gos/gos_x_threads_cortexm47fp.h(63): error: expected identifier or '('
static __asm void _gfxStartThread(thread *oldt, thread *newt) {
^
../../ugfx/src/gfx_mk.c(15): warning: In file included from...
../../ugfx/src/gos/gos_mk.c(21): warning: In file included from...
../../ugfx/src/gos/gos_x_threads.c(484): warning: implicit declaration of function '_gfxTaskSwitch' is invalid in C99 [-Wimplicit-function-declaration]
_gfxTaskSwitch(me, _gfxCurrentThread);
^
../../ugfx/src/gos/gos_x_threads.c(506): warning: implicit declaration of function '_gfxTaskSwitch' is invalid in C99 [-Wimplicit-function-declaration]
_gfxTaskSwitch(me, _gfxCurrentThread);
^
../../ugfx/src/gos/gos_x_threads.c(540): warning: implicit declaration of function '_gfxStartThread' is invalid in C99 [-Wimplicit-function-declaration]
_gfxStartThread(me, t);
^
../../ugfx/src/gfx_mk.c(16): warning: In file included from...
../../ugfx/src/gdriver/gdriver_mk.c(8): warning: In file included from...
../../ugfx/src/gdriver/gdriver.c(12): warning: In file included from...
../../ugfx/src/gdriver/gdriver.h(90): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
typedef const struct GDriverVMT const GDriverVMTList[1];
^
../../ugfx/src/gfx_mk.c(18): warning: In file included from...
../../ugfx/src/gdisp/gdisp_mk.c(21): warning: In file included from...
../../ugfx/src/gdisp/gdisp.c(586): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
extern const GDISPVMT const GDISPVMT_OnlyOne[1];
^
9 warnings and 2 errors generated.
compiling gfx_mk.c...
compiling GLCD.c...
../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(8): warning: In file included from...
../../ugfx\gfx.h(7): warning: In file included from...
../../ugfx/src/gfx.h(93): warning: In file included from...
../../ugfx/src/gfx_compilers.h(624): warning: '#pragma anon_unions' is an ARM Compiler 5 extension, and is not supported by ARM Compiler 6 [-Warmcc-pragma-anon-unions]
#pragma anon_unions // Allow anonymous unions
^
../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(8): warning: In file included from...
../../ugfx/src/gdisp/../../gfx.h(7): warning: In file included from...
../../ugfx/src/gfx.h(177): warning: In file included from...
../../ugfx/src/gdisp/gdisp.h(54): warning: redefinition of typedef 'gPoint' is a C11 feature [-Wtypedef-redefinition]
} gPoint;
^
../../ugfx/src/gmisc/gmisc.h(29): note: previous definition is here
typedef struct gPoint gPoint;
^
../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(8): warning: In file included from...
../../ugfx/src/gwin/../../gfx.h(7): warning: In file included from...
../../ugfx/src/gfx.h(178): warning: In file included from...
../../ugfx/src/gwin/gwin.h(60): warning: redefinition of typedef 'GHandle' is a C11 feature [-Wtypedef-redefinition]
} GWindowObject, * GHandle;
^
../../ugfx/src/gwin/gwin.h(33): note: previous definition is here
typedef struct GWindowObject *GHandle;
^
../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(14): warning: In file included from...
../../ugfx/drivers/gdisp/SSD1289/../../../src/gdisp/gdisp_driver.h(22): warning: In file included from...
../../ugfx/src/gdisp/../gdriver/gdriver.h(90): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
typedef const struct GDriverVMT const GDriverVMTList[1];
^
../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(14): warning: In file included from...
../../ugfx/drivers/gdisp/SSD1289/../../../src/gdisp/gdisp_driver.h(735): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
const GDISPVMT const GDISP_DRIVER_VMT[1] = {{
^
5 warnings generated.
compiling gdisp_lld_SSD1289.c...
".\PA_F7_B201\PA_F7_B201.axf" - 2 Error(s), 14 Warning(s).