cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
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! :-)

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-18