While compiling the mingw-w64 cross compiler I got this with gcc-10.2.0:
/home/builder/gcc/libgomp/target.c: In function ‘gomp_map_vars_internal’:
/home/builder/gcc/libgomp/target.c:1228:21: error: unknown conversion
type character ‘l’ in format [-Werror=format=]
1228 | gomp_fatal ("present clause: !acc_is_present (%p, "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/builder/gcc/libgomp/target.c:36:
/tmp/cross-mingw-w64/x86_64-w64-mingw32/include/inttypes.h:36:18: note:
format string is defined here
36 | #define PRIu64 "llu"
| ^
/home/builder/gcc/libgomp/target.c:1228:21: error: unknown conversion
type character ‘l’ in format [-Werror=format=]
1228 | gomp_fatal ("present clause: !acc_is_present (%p, "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/builder/gcc/libgomp/target.c:36:
/tmp/cross-mingw-w64/x86_64-w64-mingw32/include/inttypes.h:37:18: note:
format string is defined here
37 | #define PRIx64 "llx"
| ^
/home/builder/gcc/libgomp/target.c:1228:21: error: too many arguments
for format [-Werror=format-extra-args]
1228 | gomp_fatal ("present clause: !acc_is_present (%p, "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
gmake[4]: *** [Makefile:827: target.lo] Error 1
gmake[4]: Leaving directory
'/tmp/build/gcc.x86_64-w64-mingw32/x86_64-w64-mingw32/libgomp'
gmake[3]: *** [Makefile:1057: all-recursive] Error 1
gmake[3]: Leaving directory
'/tmp/build/gcc.x86_64-w64-mingw32/x86_64-w64-mingw32/libgomp'
gmake[2]: *** [Makefile:648: all] Error 2
gmake[2]: Leaving directory
'/tmp/build/gcc.x86_64-w64-mingw32/x86_64-w64-mingw32/libgomp'
gmake[1]: *** [Makefile:15784: all-target-libgomp] Error 2
gmake[1]: Leaving directory '/tmp/build/gcc.x86_64-w64-mingw32'
gmake: *** [Makefile:966: all] Error 2
Is this a gcc problem or mingw-w64 problem? Or perhaps "my" problem if
I've configured something wrongly.
mingw-w64 is from the latest v8.x branch.
--
chs
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public