lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] using LWIP_DEBUG


From: Alexandre Malo
Subject: Re: [lwip-users] using LWIP_DEBUG
Date: Fri, 29 May 2009 12:01:49 -0400

Thanks Bill!
 
   I didnt know about C99. I will have to get a look on that :) I use CodeWarrior compiler.
 
Actualy, it can do C99 addition, but it was not enabled in my project. Now its on :)
 
I thinks all the project Im working on is based on a Demo either by FreeRTOS or LWIP it self.
I took your line and its working great with out the thousand errors hehe.
 
Have a good day!
 
Alexandre Malo
 
Date: Thu, 28 May 2009 17:28:52 -0400
From: "Bill Auerbach" <address@hidden>
Subject: RE: [lwip-users] using LWIP_DEBUG
To: "'Mailing list for lwIP users'" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

What platform (compiler) are you using?  The macro argument . may not be
compatible - it is a C99 addition and your compiler might not support it.  I
don't know where it came from since it's not in the lwIP code I've seen.

 

Does

 

#define LWIP_PLATFORM_DIAG( x ) do{ sys_debug x ;} while( 0 )



work for you?  This matches what I have.

 

Bill

reply via email to

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