Alex-Gamper / Ada-WinRT-Runtime

Ada Runtime targeting WinRT (ie compatable with Windows Store)
1 stars 0 forks source link

Warning while building in msys2, GCC 8.2.0 #1

Closed jere-software closed 5 years ago

jere-software commented 5 years ago

Building in msys2, GCC/GNAT 8.2.0 on Windows 10 yields the following warning:

[C] cio.c \winrt_runtime\cpp\cio.c:45:16: warning: 'acrt_iob_func' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] FILE* cdecl __acrt_iob_func(unsigned);

jere-software commented 5 years ago

This is from a clean pull from this morning (5/11/2019)

Alex-Gamper commented 5 years ago

Jere, I redefined stdin, stdout and stderr for GNAT Community edition 2018 (which uses GCC 7.3 and an older version of mingw) I have now reverted that change and now the build warnings are no longer evident on GCC 8,3 and 9.1. Could you confirm

jere-software commented 5 years ago

Sorry for the late response. Github didn't notify me that you responded. This fixed the warning for me.. Thanks!

Alex-Gamper commented 5 years ago

No problems