avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] Adding (some) Procyon AVRlib functionality toavr-libc


From: Weddington, Eric
Subject: RE: [avr-libc-dev] Adding (some) Procyon AVRlib functionality toavr-libc - C++
Date: Mon, 21 Sep 2009 07:28:28 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of David Brown
> Sent: Monday, September 21, 2009 1:40 AM
> To: address@hidden
> Subject: Re: [avr-libc-dev] Adding (some) Procyon AVRlib 
> functionality toavr-libc - C++
> 
> Ruddick Lawrence wrote:
> > This conversation is continued from the avrfreaks forum 
> posting here:
> > 
> http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopi
> c&t=84072.
> > Basically, we were talking about how best to create a 
> maintained version of
> > the functionality in the Procyon AVRlib, and whether 
> there's a place for
> > such code in avr-libc.
> > 
> 
> Another branch for another question...
> 
> Has there been much thought given to C++ support?

If you go to the Help Wanted section on avr-libc, you'll see that we've posted 
an ad for a C++ maintainer:
https://savannah.nongnu.org/people/?group=avr-libc
This was posted in December 2004 and we still haven't had anyone interested in 
helping. At least yet.

C++ is not Joerg's nor I's strong suit. Hence our request for additional help 
in this area.

 
> However, we should at least have the traditional "extern C" 
> wrappers in 
> header files:
> 
> #ifdef __cplusplus
> extern "C" {
> #endif

Yes, definitely.

 
> And modules should compile cleanly with the -Wc++-compat flag to make 
> mixing languages easier.

I have no objection to this. 


I don't think that we're quite ready to build the corelib in C++. At least we 
should stick to C in the short term just to get a product out. However, I have 
no objections to doing things now that will make it easier for future C++ work 
(like the 2 items above).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]