gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] gcl compilation with gcc 6.2.1 20161209


From: Camm Maguire
Subject: Re: [Gcl-devel] gcl compilation with gcc 6.2.1 20161209
Date: Wed, 28 Dec 2016 17:27:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Greetings, and thanks for your report!

Perhaps you could enlighten me as to the default std policy of the
various compiler versions.  I have 6.2.1 on Debian unstable as well
(working) and recall the inline standard changing some time ago, but it
is apparently not c11.  c11 does not work on many fronts, including such
items as the lack of definition of PATH_MAX, etc.  Doubtless it can be
made to work, but I only have time right now for the working gcc
default.  Suggestions?

Take care,

Wolfgang Brehm <address@hidden> writes:

> The problem is due to different behavior of extern and inline in the c89 and 
> c11 standards.
> Compiling with gcc -std=gnu89 will lead to an successful build.
> Do you want me to try to change the function definitions to conform to the 
> c11 standard or should the project stay at c89? In the latter case
> simply adding -std=gnu89 to the compiler flags in the configure script is 
> sufficient.
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gcl-devel

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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