what is the error of Error 126: Inconsistent structure definition 'unnamed' in C?

StackOverflow https://stackoverflow.com/questions/17167422

  •  01-06-2022
  •  | 
  •  

Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top