On Wed, 23 Nov 2011 17:00:57 +0100 (CET), Mark Kettenis wrote:
> > Date: Thu, 17 Nov 2011 19:06:24 +0100
> > From: Pascal Stumpf  <[email protected]>
> > 
> > Hi,
> > this diff was already suggested by matthew@ some time ago.  It renders
> > clang++ usable with gcc's C++ include files, see:
> > 
> > http://marc.info/?l=openbsd-tech&m=130229126704450&w=2
> > 
> > I don't expect any fallout, but just to be sure, can this go through a
> > bulk build on affected platforms (gcc4)?
> 
> I don't think this is the right aproach.

What is?

> 
> > Index: os_defines.h
> > ===================================================================
> > RCS file: /cvs/src/gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h,
> v
> > retrieving revision 1.2
> > diff -u -p -r1.2 os_defines.h
> > --- os_defines.h    26 May 2010 11:23:06 -0000      1.2
> > +++ os_defines.h    17 Nov 2011 18:04:55 -0000
> > @@ -35,12 +35,6 @@
> >  // file will come before all others.
> >  
> >  #define _GLIBCXX_USE_C99 1
> > -#define _GLIBCXX_USE_C99_CHECK 1
> > -#define _GLIBCXX_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
> > -#define _GLIBCXX_USE_C99_LONG_LONG_CHECK 1
> > -#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !d
> efined __LONG_LONG_SUPPORTED)
> > -#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_CHECK 1
> > -#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOUR
> CE
> >  typedef __builtin_va_list __gnuc_va_list;
> >  
> >  #endif
> > 
> > 
> 
> 

Reply via email to