DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Complying with standard C

Separate compilation compatibility

Since each compilation probably looks at different source files, most of the rules for compatible types across separate compiles are structural in nature:

An additional requirement is that the names of members (including the lack of names for unnamed members) match for structures, unions, and enums, but not necessarily their respective tags.
Next topic: Single compilation compatibility
Previous topic: Multiple declarations

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005