On 01/07/2020 20:07, David Edelsohn wrote:
This patch breaks bootstrap.
Apologies. I didn't see this when I built the compiler the with bootstrap on x86_64. I'll endevour to get it fixed as soon as possible.
regards, Mark
It is not portable to use _( ... ) to initialize an array. In file included from /nasfarm/edelsohn/src/src/gcc/fortran/gfortran.h:52, from /nasfarm/edelsohn/src/src/gcc/fortran/check.c:32: /nasfarm/edelsohn/src/src/gcc/fortran/check.c: In function 'bool gfc_invalid_boz (const char*, locus*)': /nasfarm/edelsohn/src/src/gcc/intl.h:51:27: error: initializer fails to determine size of 'hint' 51 | # define _(msgid) gettext (msgid) | ~~~~~~~~^~~~~~~ /nasfarm/edelsohn/src/src/gcc/fortran/check.c:70:23: note: in expansion of macro '_' 70 | const char hint[] = _(" [see %<-fno-allow-invalid-boz%>]"); | ^ /nasfarm/edelsohn/src/src/gcc/intl.h:51:27: error: array must be initialized with a brace-enclosed initializer
-- https://www.codethink.co.uk/privacy.html