Hi Willy,
I brought down haproxy-1.9-1483198 through git, but am getting expansion of 
macro errors during the compile using the same compile script that works with 
2.0. Any ideas what's wrong?

For example, I ran "gmake -B CFLAGS="-maix64" LDFLAGS="-maix64" TARGET=aix52 
USE_OPENSSL=1 USE_ZLIB=1 2>&1 | tee haproxy-make.log" :

In file included from src/connection.c:17:
include/common/initcall.h:105:10: 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:991: src/connection.o] Error 1


Thanks.

Patrick Overbey
Fiserv


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

Great. Thank you Willy.

Patrick Overbey
Fiserv


-----Original Message-----
From: Willy Tarreau [mailto:[email protected]] 
Sent: Wednesday, April 03, 2019 1:18 AM
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




Hi Patrick,

On Mon, Apr 01, 2019 at 09:27:46PM +0000, Overbey, Patrick (Sioux Falls) wrote:
> Thanks. Can you let me know when the change is ported back to 1.9?

OK so this is now in the 1.9-maint branch (commit 3349375). You can retrieve it 
with git, or if you wait another day you'll get a nightly snapshot in the 
download directory. In absence of pending bugs, I don't think there will be 
another 1.9 release before week.

Regards,
Willy

Reply via email to