[cups] Build Error

nanook at eskimo.com nanook at eskimo.com
Thu Dec 5 00:30:45 PST 2019


On Thu, December 5, 2019 12:08 am, Axel Braun wrote:
> 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
>
>
>
> _______________________________________________
> cups mailing list cups at cups.org
https://lists.cups.org/mailman/listinfo/cups

     I just used the Makefile that ./configure created.  I don't see
CFLAGS defined there, have no idea where it is defined.






More information about the cups mailing list