cURL / Mailing Lists / curl-library / Single Mail


Re: Problem with old GCC and -Wall: declaration of 'wait' shadows a global declaration

From: Daniel Stenberg <>
Date: Mon, 18 Feb 2013 00:17:13 +0100 (CET)

On Sun, 17 Feb 2013, Ji Hruka wrote:

> your commit c25383ae "rename "easy" statemachines: call them block instead"
> seems to have broken compilation with old GCC and -Werror due to a conflict
> between parameter "wait" of the new Curl_pp_statemach() and system-provided
> function wait(2).

Thanks Ji, I pushed a fixed now that calls the variable 'block' instead.
Hopefully that doesn't shadow any other funtion! :-)


List admin:
Received on 2013-02-18