function/macro name conflict in radck.c

Antonio Querubin <[email protected]> Tue, 30 Jul 2002 15:03:51 -1000 (HST)
Newsgroups gmane.comp.gnu.radius.bugs
Message-ID <[email protected]>
I ran into a problem building GNU RADIUS 0.96.3 under BSDI 4.3.  When
running 'make' eventually one gets an error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include/snmp
-I../radlib -g -O2 -c radck.c
radck.c:65: macro `setbit' used with too many (4) args
radck.c:94: macro `setbit' used with too many (4) args
*** Error code 1

Apparently, in radiusd/radck.c, gcc sees a name conflict between the
setbit() function and the SETBIT macro.  Giving either one a different
name fixes the build problem.


Antonio Querubin
[email protected]