repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit

Vincent Lefevre vincent at vinc17.net
Mon Feb 12 01:15:29 UTC 2018


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.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list