Question

I am trying to link the my C code, and I got the following error message:

Error 126: Inconsistent structure definition 'unnamed'

there is no line number indicated which line has problems, and I do not have any structure of "unnamed", so I can not post the suspected code to here, have anyone experience this and how to fix it?

Was it helpful?

Solution

Error 126: The named structure (or union or enum) was inconsistently defined across modules. The inconsistency was recognized while processing a lint object module. Line number information was not available with this message. Alter the structures so that the member information is consistent.

Maybe a tagless struct bearing a tagless struct

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top