public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65905] New: Building eCos fails with clist.hxx:304:1: error: template with C linkage
@ 2015-04-27 14:27 bernd.edlinger at hotmail dot de
  2015-04-28  8:18 ` [Bug c++/65905] " bernd.edlinger at hotmail dot de
  0 siblings, 1 reply; 2+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2015-04-27 14:27 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/65905] Building eCos fails with clist.hxx:304:1: error: template with C linkage
  2015-04-27 14:27 [Bug c++/65905] New: Building eCos fails with clist.hxx:304:1: error: template with C linkage bernd.edlinger at hotmail dot de
@ 2015-04-28  8:18 ` bernd.edlinger at hotmail dot de
  0 siblings, 0 replies; 2+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2015-04-28  8:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65905

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Oh, my fault.

Accidentally I left a sym-link from arm-eabi/sys-include
to ecos-test_install/include that is necessary for boot-strap,
but is known to not work for building the eCos library.

Although previously the error message was less cryptic.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-28  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 14:27 [Bug c++/65905] New: Building eCos fails with clist.hxx:304:1: error: template with C linkage bernd.edlinger at hotmail dot de
2015-04-28  8:18 ` [Bug c++/65905] " bernd.edlinger at hotmail dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).