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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004