On Fri 15 Jul 2016 12:52, Chris Vine <ch...@cvine.freeserve.co.uk> writes:

> On Thu, 14 Jul 2016 17:41:45 +0200
> Daniel Llorens <daniel.llor...@bluewin.ch> wrote:
> [snip]
>> I think we'd want C89/C90 users to still be able to #include
>> <libguile.h>. Dunno.
>
> libguile.h can also at present be included in C++89/03/11/14 code by
> design - all the necessary "extern C" stuff is there.  I would hope
> that would continue, but some C99 things, such as variable length
> arrays, designated initializers, the _Complex type, the restrict
> qualifier and compound literals (except in C++11/14) are not available.
>
> There is no problem with using these in libguile implementation
> (*.c) code, but including them in headers will generally stop the
> headers being usable in C++ code.  Having said that, g++ happens to
> accept some of these in C++ code as an extension.

Good points, all.  Thanks for this list Chris.  I don't think we need
anything in your list at present.  I would like stdint.h though :)

Andy

Reply via email to