repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit
Dennis Clarke
dclarke at blastwave.org
Mon Feb 12 23:30:26 UTC 2018
On 11/02/18 08:15 PM, Vincent Lefevre wrote:
> On 2018-02-11 10:40:55 +0100, Torbjorn Granlund wrote:
>> Dennis Clarke <dclarke at blastwave.org> writes:
>>
>> repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit
>>
>> Our nightly builds get a few of those too, as warnings. I've decided I
>> can live with those as no platform seems to actually dislike the
>> resulting object files.
>
> Or you can just add a dummy typedef to ensure that the translation unit
> is not empty.
>
As a minor annoyance it does cause gcc ( recent versions 7.x ) to fail.
Oddly enough ye Oracle Studio 12.6 cc running in strict c99 mode is fine
and happy with everything. That is a new experience for me. However the
performance on sparc is miserable. We all know this and we know why.
Dennis
More information about the gmp-bugs
mailing list