Hi!
This breaks when compiling FreeBSD-mips on GCC-9. :(
In file included from
/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir.c:50,
from
/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir_b.c:29:
/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/include/block_abi.h:45:2:
error: anonymous struct declared inside parameter list will not be visible
outside of this definition or declarati
45 | struct {\
| ^~~~~~
/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir.c:67:5:
note: in expansion of macro 'DECLARE_BLOCK'
67 | DECLARE_BLOCK(int, dcomp, const struct dirent **, const struct
dirent **))
| ^~~~~~~~~~~~~
/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/include/block_abi.h:45:2:
error: anonymous struct declared inside parameter list will not be visible
outside of this definition or declarati
45 | struct {\
| ^~~~~~
/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir.c:66:5:
note: in expansion of macro 'DECLARE_BLOCK'
66 | DECLARE_BLOCK(int, select, const struct dirent *),
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
--- scandir_b.o ---
*** [scandir_b.o] Error code 1
-adrian
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"