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 <c...@maguirefamily.org> 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 <wolfgang.br...@gmail.com> 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 > > Gcl-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/gcl-devel > > -- > Camm Maguire c...@maguirefamily.org > ========================================================================== > "The earth is but one country, and mankind its citizens." -- Baha'u'llah > > > _______________________________________________ > Gcl-devel mailing list > Gcl-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/gcl-devel >
_______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org https://lists.gnu.org/mailman/listinfo/gcl-devel