https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80673
Bug ID: 80673 Summary: sparcv9-solaris2.11 bootstrap error: cannot convert ‘format_std_version {enum}’ to ‘const char*’ in initialization Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- A cross-build of the sparcv9-solaris2.11 target on a x86_64-linux host fails with the following error and shows the warnings below. /src/gcc/80280/gcc/config/sol2-c.c:46:1: error: cannot convert ‘format_std_version {enum}’ to ‘const char*’ in initialization }; ^ /src/gcc/80280/gcc/config/sol2-c.c:46:1: warning: missing initializer for member ‘format_flag_spec::std’ [-Wmissing-field-initializers] /src/gcc/80280/gcc/config/sol2-c.c:46:1: error: cannot convert ‘format_std_version {enum}’ to ‘const char*’ in initialization /src/gcc/80280/gcc/config/sol2-c.c:46:1: warning: missing initializer for member ‘format_flag_spec::std’ [-Wmissing-field-initializers] /src/gcc/80280/gcc/config/sol2-c.c:46:1: error: cannot convert ‘format_std_version {enum}’ to ‘const char*’ in initialization /src/gcc/80280/gcc/config/sol2-c.c:46:1: warning: missing initializer for member ‘format_flag_spec::std’ [-Wmissing-field-initializers] /src/gcc/80280/gcc/config/sol2-c.c: In function ‘void solaris_pragma_align(cpp_reader*)’: /src/gcc/80280/gcc/config/sol2-c.c:116:24: warning: ‘D’ conversion used unquoted [-Wformat=] "%D, ignoring", decl); ^ /src/gcc/80280/gcc/config/t-sol2:21: recipe for target 'sol2-c.o' failed make[2]: *** [sol2-c.o] Error 1