[Top][All Lists]

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

Re: Inlining error from "timespec.h".

From: Paul Eggert
Subject: Re: Inlining error from "timespec.h".
Date: Fri, 27 Jun 2014 10:12:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Mats Erik Andersson wrote:

I am now trying to build GNU Shishi with on Debian with gcc-4.7.2
and with the previous gcc-4.4.5. This includes bootstrapping
the source with "manywarnings.m4", etcetera.

However, gcc-4.4.5 fails due to "-Wmissing-prototypes":

Currently, --enable-gcc-warnings requires GCC 4.6 if you use the extern-inline module. The workaround is to not use --enable-gcc-warnings with older GCCs. No doubt this could be ported to older GCCs, if someone wanted to take the time and trouble to do that, if only by disabling 'extern inline' entirely on older GCCs when warnings are enabled.

As a side note, gcc-4.4.5 does not accept "-Wenum-compare" as a
valid option for C-coded source, yet it is included in "manywarnings".

That's surprising, as manywarnings is supposed to disable warnings that are not supported. I suppose this could be fixed as well, if someone wants to worry about these older systems. Again, the workaround is to not use --enable-gcc-warnings.

reply via email to

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