[Top][All Lists]

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

Gnulib causes error prone warnings.

From: Mats Erik Andersson
Subject: Gnulib causes error prone warnings.
Date: Fri, 5 Apr 2013 15:18:22 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello there,

in order to build 1.0.3 with active "--enable-gcc-warnings",
with Debian Squeeze, I find myself forced to apply the
patching reproduced below.

On one hand, "-Wenum-compare" produces a large number of
comments, since it is ignored while encountered by CC,
and whil being applicable only to C++ and allies.

More severe is the fact that upstream Gnulib is by policy
not acting against compiler warnings inherent in their
code basis.  This hits Shishi in two files:


where four inline functions are missing their prototypes,
warnings which are upgraded to errors when building
with "--enable-gcc-warnings".

Is there a method to relax the use of "-W*" in "gl/"?
The problem is that both the files named above are
referenced in "lib/*", so preprocessor options are
seemingly interdependent. It is unfortunate to mend
files imported from Gnulib, but that was the only
action I could think of.

  Mats Erik Andersson

Attachment: 0001-Warnings-caused-by-gnulib.patch
Description: Text Data

reply via email to

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