gnokii-users
[Top][All Lists]
Advanced

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

RE: Patches #219 - #224


From: John Charls
Subject: RE: Patches #219 - #224
Date: Wed, 10 Apr 2002 11:59:39 +0200

Can you please tell me how to unsubscribe.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Pawel
Kot
Sent: 09 April 2002 11:15
To: address@hidden
Subject: Re: Patches #219 - #224


On Mon, 8 Apr 2002, Pavel Machek wrote:

> Hi!
>
> >  > #224:
> >  > +#    define dump while(0)
> >  > +#    define dprintf while(0)
> >  >
> >  > Are you sure that syntax is correct?
> >
> > According to me and a co-worker that used to be in compiler design,
yes it
> > is.
> >
> > What happens:
> >     dprintf( "some format string: %s %d\n", s, n );
> > gets translated to:
> >     while(0);
>
> AFAICS it will translate to
>
> while(0)( "some format string" );
>
> That can't be right...

That's what I thought. But as it seems to work with VC++ it can be done.
It doesn't hurt cygwin at least...

pkot
-- 
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku


_______________________________________________
gnokii-users mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users




reply via email to

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