tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] tpop3d v1.4.1pre4


From: Chris Lightfoot
Subject: Re: [tpop3d-discuss] tpop3d v1.4.1pre4
Date: Mon, 25 Feb 2002 14:39:11 +0000
User-agent: Mutt/1.3.24i

On Mon, Feb 25, 2002 at 03:21:19PM +0100, Prune wrote:
> Michael Klatsky wrote:
> >
> >gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -Wall
> >-Wstrict-prototypes -g -O2 -c auth_ldap.c
>
> the problem comes from the code line 336 :
> 
> #define GOT_ATTR(a)     if (ldapinfo.attr.##a && !a) { \
        [...]
>                                      ldapinfo.attr.##a, local_part, 
        [...]
> 
> chris : what does the "##a" exactly ?
> if you replace "##a" by "a", the error disepear....
> 
> for the other error, check the previous mail from chris.

Indeed. ## is for `token pasting' in the C preprocessor; I
had used it there in error. ``ldapinfo.attr . a'' works
fine. It's all in the C standard (not that I bothered to
read it...).

-- 
 Stupidity, the gift that keeps on giving    (seen on the internet)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]