[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] LWIP_DEBUGF
From: |
Mandeep Sandhu |
Subject: |
Re: [lwip-users] LWIP_DEBUGF |
Date: |
Mon, 20 Jul 2009 12:52:56 +0530 |
>>
>> In order to insert all those lines in a #define you have to start it with
>> something "do{" uses the least chars, and the compiler probably edits it
>> out.
>> In a non-debug scenario the line would just be:
>> #define LWIP_DEBUGF(debug,x)
>>
>
> I think simple brackets {} would do
That wouldn't always work.
Have a look here:
http://kernelnewbies.org/FAQ/DoWhile0
Though it's for linux kernelnewbies...but don't think it's specific
to Linux.
HTH,
-mandeep
>
> Gustl
>
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>