[Pkg-nagios-devel] Bug#1075320: Bug#1075320: nsca-ng: ftbfs with GCC-14

Sebastiaan Couwenberg sebastic at xs4all.nl
Wed Jul 3 15:58:22 BST 2024


Control: tags -1 pending

On 7/3/24 2:38 PM, Matthias Klose wrote:
> test_nsca.c: In function ‘cat_fifo’:
> test_nsca.c:275:21: error: passing argument 1 of ‘close’ makes integer from pointer without a cast [-Wint-conversion]
>    275 |         (void)close(fifo);
>        |                     ^~~~
>        |                     |
>        |                     FILE *

This is fixed in git by using fclose() instead.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-nagios-devel mailing list