Re: A lesson for compiler warning writers

kendall@centerline.com (Sam Kendall)
Fri, 19 Jun 1992 00:07:55 GMT

          From comp.compilers

Related articles
[2 earlier articles]
Re: A lesson for compiler warning writers tmb@arolla.idiap.ch (1992-06-17)
Re: A lesson for compiler warning writers maniattb@cs.rpi.edu (1992-06-17)
Re: A lesson for compiler warning writers stephen@estragon.uchicago.edu (1992-06-18)
Re: A lesson for compiler warning writers arnold@cc.gatech.edu (1992-06-18)
Re: A lesson for compiler warning writers xjam@cork.CS.Berkeley.EDU (1992-06-18)
Re: A lesson for compiler warning writers hays@ssd.intel.com (1992-06-18)
Re: A lesson for compiler warning writers kendall@centerline.com (1992-06-19)
Re: A lesson for compiler warning writers wicklund@intellistor.com (1992-06-18)
Re: A lesson for compiler warning writers dds@doc.imperial.ac.uk (Diomidis Spinellis) (1992-06-19)
Re: A lesson for compiler warning writers hagerman@ece.cmu.edu (1992-06-19)
Re: A lesson for compiler warning writers igor!voltaire!davidm@uunet.UU.NET (1992-06-19)
Re: A lesson for compiler warning writers dww@inf.fu-berlin.de (1992-06-20)
Re: A lesson for compiler warning writers preston@dawn.cs.rice.edu (1992-06-21)
[6 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: kendall@centerline.com (Sam Kendall)
Keywords: C, lint, debug
Organization: CenterLine Software, Inc.
References: <19920609091040SEB1525@MVS.draper.com> 92-06-084
Date: Fri, 19 Jun 1992 00:07:55 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.


I'd love to see linkers check calls against definitions (using info
provided by the compiler), at least when the caller and callee are written
in the same language. The IBM RIOS linker documentation has something
about this; has anyone tried it? Does it work automatically, or must you
enable it?


CenterLine's environments include a linker that does cross-file checking,
but it could be done more fully with the full cooperation of the compiler.
On most Unix machines, debugging info does not include information about
calls, only about definitions, so it cannot be used for this kind of
cross-file checking.


----
Sam Kendall
CenterLine Software, Inc. (formerly Saber Software)
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.