[cups] Build Error

Axel Braun axel.braun at gmx.de
Thu Dec 5 00:08:43 PST 2019


Am Donnerstag, 5. Dezember 2019, 08:45:32 CET schrieb nanook at eskimo.com:
>      I am trying to build cups 2.3.0 under Ubuntu 19.10 but the compile is
> failing with the following error:
> 
> ipp.c: In function ‘main’:
> ipp.c:236:10: error: variable ‘waittime’ set but not used
> [-Werror=unused-but-se
> t-variable]
>   236 |   time_t waittime;  /* Wait time for held jobs */
> 
>       |          ^~~~~~~~
> 
> cc1: all warnings being treated as errors

Step down with your compiler-options. A declared but unused variable is - as 
the log says - a warning, is it does not really harm (except memory usage and 
performance)

HTH
Axel




More information about the cups mailing list