AnsweredAssumed Answered

Preprocessor source?

Question asked by Mike Spenard on Apr 23, 2019
Latest reply on Apr 24, 2019 by Mike Spenard

I have this compiler error I'm trying to narrow down in Mongoose:

   "error: macro “poll” requires 3 arguments, but only 2 given m->ifaces[i]->vtable->poll(m->ifaces[i], timeout_ms);"


And vtable->poll isn't a macro, So something must be overriding it(?)

   struct mg_iface_vtable {
       time_t (*poll)(struct mg_iface *iface, int timeout_ms);


I need to see the pre-processor source with all the macros expanded so I can see where it's taking the definition of "poll" from. Typically, you would add -E to the compiler options. But I've done that, and I'm not seeing anything useful outputted.


How does one setup MCUxpresso to see the pre-processor source with all the macros expanded???