[cups] Build Error

nanook at eskimo.com nanook at eskimo.com
Thu Dec 5 01:03:04 PST 2019


     I found error flags in Makedefs and removed them, re-ran config,
and it compiled successfully but fails test:

Performing 4.4-subscription-ops.test: FAIL



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




More information about the cups mailing list