mikes@rtech.UUCP (Mike Schilling(This sentence no verb.)) (12/06/89)
If the variable referenced in an "extern" declaration is never used, is a reference created? For instance, if "foo.h" contains: int foo_func(int i, double d); extern int ifoo; and I include it to get the prototype, but don't make any use of "ifoo", (or define it in any other module) will I get a link error? I know the answer under VMS, AOS, SunOS, etc, but don't know what ANSI mandates (if anything). ---------------------------------------------------------------------------- Any resemblance between the opinions expressed above and those of any living person is a coincidence. ---------------------------------------------------------------------------- Mike Schilling mikes@rtech.com Ingres Corporation Alameda, CA