https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65905
Bug ID: 65905 Summary: Building eCos fails with clist.hxx:304:1: error: template with C linkage Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Created attachment 35406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35406&action=edit precompiled source code using gcc-5.1 it is no longer possible to build the eCos library: arm-eabi-gcc -c -I/home/ed/Downloads/ecos-test_install/include -I/home/ed/Downloads/ecos-cvs-120723/packages/infra/current -I/home/ed/Downloads/ecos-cvs-120723/packages/infra/current/src -I/home/ed/Downloads/ecos-cvs-120723/packages/infra/current/tests -I. -I/home/ed/Downloads/ecos-cvs-120723/packages/infra/current/src/ -finline-limit=7000 -Wall -Wpointer-arith -Wundef -Woverloaded-virtual -Wno-write-strings -mno-thumb-interwork -mcpu=arm7tdmi -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -Wp,-MD,src/startup.tmp -o src/infra_startup.o /home/ed/Downloads/ecos-cvs-120723/packages/infra/current/src/startup.cxx In file included from /home/ed/Downloads/ecos-test_install/include/cyg/kernel/mlqueue.hxx:63:0, from /home/ed/Downloads/ecos-test_install/include/cyg/kernel/sched.hxx:131, from /home/ed/Downloads/ecos-cvs-120723/packages/infra/current/src/startup.cxx:69: /home/ed/Downloads/ecos-test_install/include/cyg/infra/clist.hxx:304:1: error: template with C linkage template <class T> class Cyg_CList_T ^ /home/ed/Downloads/ecos-test_install/include/cyg/infra/clist.hxx:347:1: error: template with C linkage template <class T> class Cyg_DNode_T ^ make[1]: *** [src/startup.o.d] Error 1