Hi Erich,

On Wed, Nov 4, 2015 at 10:35 AM, Keane, Erich <erich.keane at intel.com> wrote:
>
> > On a related note, why are attempting to include <stdassert.h>?
> > AFAIK, that's not a standard header.  Isn't the C11 static_assert()
> > macro is define in <assert.h>?
> >
> >
> > Furthermore, IoTivity shouldn't be checking the value of the
> > __STDC_VERSION__ preprocessor symbol.  It is an internal
> > implementation detail.  Checking if the non-standard _ISOC11_SOURCE
> > preprocessor symbol is defined would be cleaner (see the
> > feature_test_macros(7) man page).
>
> __STDC_VERSION__ was added in the C95 ISO extension, which is included
> in C99.


Excellent.  Thanks for the clarification!  The double underscores raised a
red flag for me.

What about <stdassert.h>?  It doesn't appear to be standard.

Thanks,
-Ossama

P.S.:  Thanks for understanding my post despite my grammar typos. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151104/ba081eee/attachment.html>

Reply via email to