title: gcc c error: expected ')' before numeric constant
body: <p>Hi I have been trying to port LWIP to a new arm device. When compiling the code i get the error message: </p>
  
  <pre><code>"lwip/lwip-1.4.0/src/include/lwip/memp_std.h:35:23: error: expected ')' before numeric constant"
  </code></pre>
  
  <p>When I go to this file this and below this several similar macros is what I find on that line:</p>
  
  <pre><code>LWIP_MEMPOOL(RAW_PCB, MEMP_NUM_RAW_PCB,         sizeof(struct raw_pcb),        "RAW_PCB")
  </code></pre>
  
  <p>If I remove the need for this macro with a define to deactivate the RAW functionality the error moves to the next LWIP_MEMPOL() macro.</p>
  
  <p>The define it seems to want to put a ')' in front of is defined as this:</p>
  
  <pre><code>#define MEMP_NUM_RAW_PCB          1
  </code></pre>
  
  <p>The RAW_PCB is not defined but is "combined with MEMP_" to create an element in an enum.</p>
  
  <p>I have tried to complie the whole ting with the -E option to get human redable object files and see if i can find any open '(' around the areas where MEMP_RAW_PCB apears and the substitution of MEMP_NUM_RAW_PCB to 1 but I have not found any by manual inspection yet.</p>
  
  <p>Are there any suggestions on what can be going on here or what more I can do or look for to find the cause of the error?</p>
  
  <p>I should maybe add that so far I don't call on any of the LWIP code from main() or any of the functions used in main().</p>