Hi Paul,

> > +# if 0 && defined __cplusplus
> > +#  define HAVE_STATIC_ASSERT 1
> > +# endif
> 
> That "0 &&" looks wrong: did you put it in for debugging,
> and intend to remove it before installing?

The intent of this "0" condition was to be a placeholder until GCC 4.7
or 4.8 or whatever release will support 'static_assert' in C++ mode.

I've now committed the patch with a different placeholder and a comment:


/* The condition (99 < __GNUC__) is temporary, until we know about the
   first G++ release that supports static_assert.  */
# if (99 < __GNUC__) && defined __cplusplus
#  define HAVE_STATIC_ASSERT 1
# endif

-- 
In memoriam Hans von Dohnanyi <http://en.wikipedia.org/wiki/Hans_von_Dohnanyi>

Reply via email to