It looks the same to me. Thanks.

In file included from src/connection.c:17:
src/connection.c: In function '__initcb_1302':
include/common/initcall.h:128:11: warning: cast between incompatible function ty
pes from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *,
void *)' [-Wcast-function-type]
   .fct  = (void (*)(void *,void *,void *))function,  \
           ^
include/common/initcall.h:146:2: note: in expansion of macro '__DECLARE_INITCALL
'
  __DECLARE_INITCALL(__VA_ARGS__)
  ^~~~~~~~~~~~~~~~~~
include/common/initcall.h:158:2: note: in expansion of macro '_DECLARE_INITCALL'

  _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
  ^~~~~~~~~~~~~~~~~
src/connection.c:1302:1: note: in expansion of macro 'INITCALL1'
 INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords);
 ^~~~~~~~~
gmake: *** [Makefile:996: src/connection.o] Error 1

Patrick Overbey
Fiserv


-----Original Message-----
From: Willy Tarreau [mailto:[email protected]] 
Sent: Wednesday, April 03, 2019 3:34 PM
To: Overbey, Patrick (Sioux Falls) <[email protected]>
Cc: [email protected]; [email protected]
Subject: Re: Upcoming haproxy build fixes for Cygwin & AIX

  ⚠ EXTERNAL MESSAGE – Think Before You Click




On Wed, Apr 03, 2019 at 08:20:50PM +0000, Overbey, Patrick (Sioux Falls) wrote:
> Sorry, Willy. I'm still having the same troubles after the changes.

Then there's something I'm missing because it works for me here (with and 
without the option, I verified that I had different symbols in the output), and 
in addition the reported line number in initcall.h (105) belongs to the case 
where USE_OBSOLETE_LINKER is *not* defined.

Could you please double-check and send again the copy of the error you get with 
this latest commit ? It might look similar but be slightly different, 
indicating something else is needed.

Thanks,
Willy

Reply via email to