bug-gnulib
[Top][All Lists]
Advanced

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

Re: FreeBSD: Warnings about c-ctype macros used but marked unused


From: Bruno Haible
Subject: Re: FreeBSD: Warnings about c-ctype macros used but marked unused
Date: Wed, 28 Aug 2019 16:09:46 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-159-generic; KDE/5.18.0; x86_64; ; )

Hi Tim,

> Compiling on FreeBSD 12 gives a warning per use of c_ macros, for example
> 
> http_parse.c:187:10: warning: 'c_isblank' was marked unused but was used
> [-Wused-but-marked-unused]
>                 while (c_isblank(*s)) s++;
> 
> 
> This is true also for c_isdigit, c_isspace, etc.

A bit more details, please:
  - Which version of gcc or clang is this?
  - Where does the option -Wused-but-marked-unused come from? Is it part
    of -Wall, or did you or your package add it explicitly?

Bruno




reply via email to

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