[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27324] DHCP_GLOBAL_XID_HEADER does not work with ARM
From: |
Bill Auerbach |
Subject: |
[lwip-devel] [bug #27324] DHCP_GLOBAL_XID_HEADER does not work with ARM Realview Compiler |
Date: |
Wed, 26 Aug 2009 16:22:28 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) |
Follow-up Comment #4, bug #27324 (project lwip):
If you tried
#undef DHCP_GLOBAL_XID_HEADER
#ifdef DHCP_GLOBAL_XID_HEADER
#include DHCP_GLOBAL_XID_HEADER /* include optional starting XID generation
prototypes */
#endif
and you get the error, it's a (serious) bug. Lines other than #elif, #else
and #endif following false #if's are to be completely ignored until the
matching #endif is parsed. I'm curious what:
#if 0
#include DHCP_GLOBAL_XID_HEADER /* include optional starting XID generation
prototypes */
#endif
does. As Simon suggested, you could also try something like:
#ifndef DHCP_GLOBAL_XID_HEADER
#define DHCP_GLOBAL_XID_HEADER <stdio.h>
#endif
#include DHCP_GLOBAL_XID_HEADER /* include optional starting XID generation
prototypes */
In any case, I think you've got something worth reporting to the Realview
people. Perhaps reduce this to a one-file example to prove it out before
sending the report in.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27324>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/