This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: C Linkage for C++ Files


It would be as simple as wrapping the relevant C++ code in 'extern "C"' decls.

-----Original Message-----
From: Fred Woolsey [mailto:fwsbcon@fwsbcon.com]
Sent: Monday, January 06, 2003 5:19 PM
To: ecos-discuss
Subject: Re: [ECOS] C Linkage for C++ Files


Dunno... would it?

Thanks for the help (I think..),
Fred Woolsey

(PS: A question typically expects an answer, not another question.)


----- Original Message -----
From: "Greg Lanthier" <greg_lanthierca@yahoo.ca>
To: "Fred Woolsey" <fwsbcon@fwsbcon.com>; "ecos-discuss"
<ecos-discuss@sources.redhat.com>
Sent: Monday, January 06, 2003 8:11 PM
Subject: Re: [ECOS] C Linkage for C++ Files


> It wouldn't be as simple as wrapping the relevant C++
> code in 'extern "C"' decls, would it?
>
> Greg
>
>  --- Fred Woolsey <fwsbcon@fwsbcon.com> wrote: > Hi
> all,
> >
> > Can anyone help explain how to go about compiling a
> > C++ file with C linkage?
> > The eCos reference manual makes a reference to
> > this... Is there a switch or
> > a #pragma for this?
> >
> > Thanks and Best Regards,
> > Fred Woolsey
> >
> >
> >
> > --
> > Before posting, please read the FAQ:
> > http://sources.redhat.com/fom/ecos
> > and search the list archive:
> > http://sources.redhat.com/ml/ecos-discuss
> >
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
>
>



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]