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.

Chris

Reply via email to