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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003