develooper Front page | perl.perl6.internals | Postings from March 2002

Re: Coding standards (was Re: typedefs)

Thread Previous | Thread Next
From:
Bryan C. Warnock
Date:
March 22, 2002 20:24
Subject:
Re: Coding standards (was Re: typedefs)
Message ID:
200203230420.g2N4K3F27554@smtp.capita.com
On Friday 22 March 2002 19:40, Nicholas Clark wrote:
> On Sat, Mar 23, 2002 at 12:55:00AM +0100, Segher Boessenkool wrote:
> > Besides, struct etc. are their own namespace, aside from the normal
> > variables/functions namespace.  No need for any pre/postfix at all.
> 
> Until someone wishes to embed the public headers into a C++ program.
> Or finds themselves forced to compile parrot for their platform on a C++
> compiler.
> 
> I'm not sure how likely the latter is. The former we need to take care of
> (alone with all the #ifdef __CPLUSPLUS; extern "C" { shenanigans)

And I'd be surprised if the latter worked without a lot of hackery.  (Not 
that it's not a valid scenario.  I've worked on a couple projects like that.)
Is this something we should at least look at?

-- 
Bryan C. Warnock
bwarnock@capita.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About