bug-gnulib
[Top][All Lists]
Advanced

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

Re: savewd: please port to native Windows


From: Bruno Haible
Subject: Re: savewd: please port to native Windows
Date: Tue, 27 Aug 2024 23:31:27 +0200

Paul Eggert wrote:
> > gllib\savewd.c(73,27): warning: implicit declaration of function 'fork' is 
> > invalid in C99 [-Wimplicit-function-declaration]
> 
> Perhaps the attached patch?

Thanks, that might well fix it.

Just a worry that a compiler could complain about a missing 'return' statement
in

  static pid_t fork (void) { assure (false); }

Maybe instead define it as a macro?

  #define fork() (assure (false), -1)

Bruno






reply via email to

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