[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: Patchset related to array functions

From: Chris Vine
Subject: Re: [PATCH] Re: Patchset related to array functions
Date: Fri, 15 Jul 2016 11:52:30 +0100

On Thu, 14 Jul 2016 17:41:45 +0200
Daniel Llorens <address@hidden> wrote:
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]