On Wed, Aug 14, 2013 at 11:41:30PM -0400, Christopher Sean Morrison wrote:
> On Aug 11, 2013, at 12:30 PM, Tom Browder wrote:
> 
> > I'm working on my C++ auto-man-page generator and need to know the C++
> > standard required so I can maybe use more modern features (like
> > regex).  I've tried to search in the root of the BRL-CAD tree and in
> > the doc subdir for 'std', 'standard', and 'c++' but haven't found
> > anything yet (other than C standards).
> 
> I love some of the new C++11 features but don't think limiting our 
> portability to just the latest gcc, clang, and msvc would be a good idea.  
> Right now our code seems to pretty much assume c++98, maybe c++03, but we do 
> seem to intentionally avoid any tr:: interfaces unless they're portably 
> wrapped via Boost.

I'm partial to the *bsd camp which has forked gcc from 4.2.1 due
to license issues (with clang being groomed to replace it)... I'd
strongly argue that any supported platform should be able to use
it's "system" compiler and not require an optional compiler (with
windows being a special case, naturally)

<snip>

> > P.S.  And how long till we can move beyond C89?
> 
> Last I checked, we had not yet attained strict C89, which was the criteria 
> before bumping to C99.  We're very close, though.  Probably less than a 
> week's worth of work.

Correct me if I'm wrong, but most of the c89 issues are things
addressed by c90/c99. The biggest violator I can think of off the
top of my head being the use of 'long long' in a src/other/... Does
anyone have a canonical list of c89 issues (and possibly c90 or c99
issues)?

> Cheers!
> Sean

 -Erik

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to