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" <[email protected]>
Subject: RE: [lwip-users] using LWIP_DEBUG
To: "'Mailing list for lwIP users'" <[email protected]>
Message-ID: <001b01c9dfdb$4c681050$e53830...@com>
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_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users