GCC defaults to C11.
Clang defaults to C11.
G++ defaults to C++14
Clang defaults to C++14
MSVC (if you're interested) defaults to C++14.

On Wed, Dec 28, 2016 at 2:27 PM, Camm Maguire <[email protected]>
wrote:

> 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 <[email protected]> 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
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/gcl-devel
>
> --
> Camm Maguire                                        [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens."  --  Baha'u'llah
>
>
> _______________________________________________
> Gcl-devel mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/gcl-devel
>
_______________________________________________
Gcl-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to