Got them, I needed "-save-temps". So now that I have all my .i files I'm still confused...
It's specifying 2 arguments for poll() in the source:
int mg_mgr_poll(struct mg_mgr *m, int timeout_ms) {
int i, num_calls_before = m->num_calls;
for (i = 0; i < m->num_ifaces; i++) {
m->ifaces[i]->vtable->poll(m->ifaces[i], timeout_ms);
}
return (m->num_calls - num_calls_before);
}
But in my .i file it shows NO arguments:
int mg_mgr_poll(struct mg_mgr *m, int timeout_ms) {
int i, num_calls_before = m->num_calls;
for (i = 0; i < m->num_ifaces; i++) {
m->ifaces[i]->vtable->poll;
}
return (m->num_calls - num_calls_before);
}
Why is MCUxpresso doing this? It says "macro" error. But how do I figure out where its mistakingly changing poll() ?!
error: macro “poll” requires 3 arguments, but only 2 given m->ifaces[i]->vtable->poll(m->ifaces[i], timeout_ms);