bug-gnulib
[Top][All Lists]
Advanced

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

Inlining error from "timespec.h".


From: Mats Erik Andersson
Subject: Inlining error from "timespec.h".
Date: Fri, 27 Jun 2014 13:50:24 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello there,

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":

  In file included from internal.h:76,
                   from init.c:23:
  ../gl/timespec.h:59: warning: no previous prototype for 'timespec_cmp'
  ../gl/timespec.h:69: warning: no previous prototype for 'timespec_sign'
  ../gl/timespec.h:84: warning: no previous prototype for 'timespectod'
  In file included from internal.h:77,
                   from init.c:23:
  ../gl/xalloc.h:176: warning: no previous prototype for 'x2nrealloc'

I have been tracking down the effect of _GL_INLINE for these,
but the output is seemingly identical with both versions of cpp.

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".
With almost certainty, I know that gcc-4.4.5 could build GNU Shishi
a year ago, but no longer does so, unless refraining from the options
"-Wmissing-prototypes -Wenum-compare".

Regards, on behalf of GNU Shishi,
  Mats Erik Andersson



reply via email to

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