lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #28529] macro LWIP_DEBUG_TIMERNAMES in timers.h


From: hanhui
Subject: [lwip-devel] [bug #28529] macro LWIP_DEBUG_TIMERNAMES in timers.h
Date: Sat, 09 Jan 2010 17:21:54 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; MEGAUPLOAD 2.0)

Follow-up Comment #2, bug #28529 (project lwip):

in lwip source code, use #ifdef LWIP_DEBUG to determine whether to compile
for debug mode. but not #if LWIP_DEBUG.

#ifdef LWIP_DEBUG   
(check whether the macro LWIP_DEBUG is defined)

#if LWIP_DEBUG
(check LWIP_DEBUG is not equal to 0)

if LWIP_DEBUG is not define,
#define LWIP_DEBUG_TIMERNAMES (LWIP_DEBUG && SYS_DEBUG)
some compilers will generate a warning!
"LWIP_DEBUG is not defined."

#define XXXX 0
IS NOT EQUAL TO
#undef XXXX 







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28529>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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