Newsgroups: | comp.compilers |
From: | hays@ssd.intel.com (Kirk Hays) |
Keywords: | lint, design |
Organization: | Intel Supercomputer Systems Division |
References: | <19920609091040SEB1525@MVS.draper.com> 92-06-084 |
Date: | Thu, 18 Jun 1992 21:58:53 GMT |
arnold@cc.gatech.edu (Arnold Robbins) writes:
| No C compiler in the world will do cross file checking for you, only lint
| does it.
Blatently untrue - Saber C (admittedly, an interpreter) does this, and
I've seen demonstrations of cross-file checking in CASE environments on
UNIX.
> file a.c:
>
> double foo(long a) { return a * 2.0 ; }
>
> file b.c
>
> extern short foo(double a);
Intel's C-386 for OMF386, a product that's at least 4 years old, will
catch this at link time.
I'm sure other compilers/compilation systems that meet your challenge will
surface. Most UNIX compilers won't, of course, which may have been what
you meant.
--
Kirk Hays
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.