AnsweredAssumed Answered

PowerPC VLE GCC 4.9.4 : Compilation issue on __attribute__ ((fallthrough));

Question asked by wan35fr on Nov 23, 2017
Latest reply on Nov 23, 2017 by Alexander Fedotov

Hello ,


thanks for sharing your gcc source code (4.9.4).

I have tried to compile the gcc on linux version

(gdb part)


i have some errors 


libtool: compile: i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -D__USE_MINGW_FSEEK -I. -I. -I./../include -DHAVE_powerpc_elf32_vec -DHAVE_rs6000_xcoff_vec -DHAVE_powerpc_elf32_le_vec -DHAVE_powerpc_boot_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -DBINDIR=\"/opt/freescale/gcc-4.9.4-Ee200-eabivle/i686-mingw32/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror -g -O2 -D__USE_MINGW_ACCESS -MT coffgen.lo -MD -MP -MF .deps/coffgen.Tpo -c coffgen.c -o coffgen.o
coffgen.c: In function ‘coff_print_symbol’:
coffgen.c:2118:5: error: empty declaration [-Werror]
__attribute__ ((fallthrough));
coffgen.c:2139:5: error: empty declaration [-Werror]
__attribute__ ((fallthrough));


do we need the last version of gcc to compile or not ?


         Best regards