🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5347

Re: Function declarations

#5347
From: T. William Wells
Date: Thu, 08 Sep 1988 01:01
25 lines
1597 bytes
In article <391@pigs.UUCP> haugj@pigs.UUCP (The Beach Bum) writes:
: In article <697@proxftl.UUCP> bill@proxftl.UUCP (T. William Wells) writes:
: >Well, consider the related question: who should have to deal with
: >the pain caused by systems that make one pass compilation
: >difficult: every user of ANSI C, or those people charged with the
: >writing of a C compiler for those systems?
:
: is this the claimed rational?  declaring functions as static local
: to a referencing function _can_ be handled with single pass compilation.
: the compiler may be easier to write than with that feature included,
: but with it included, the compiler could still be single pass.

The specific example they give is: a one pass compiler that
produces assembly code output and has to treat internal names
differently from external names.

The problem is that when first encountering the function name,
the compiler has to decide *right then* whether the name has
external linkage or not.

It's a rotten justification.

---
Bill
novavax!proxftl!bill
Technical Details
Message-ID: <726@proxftl.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!mordor!joyce!ames!haven!uflorida!novavax!proxftl!bill
References: <10102@genrad.UUCP> <11879@iuvax.cs.indiana.edu> <5680@rpp386.UUCP> <1275@mcgill-vision.UUCP> <13344@mimsy.UUCP> <697@proxftl.U <391@pigs.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!mordor!joyce!ames!haven!uflorida!novavax!proxftl!bill
From: bill@proxftl.UUCP (T. William Wells)
Newsgroups: comp.std.c
Subject: Re: Function declarations
Message-ID: <726@proxftl.UUCP>
Date: 8 Sep 88 01:01:47 GMT
References: <10102@genrad.UUCP> <11879@iuvax.cs.indiana.edu> <5680@rpp386.UUCP> <1275@mcgill-vision.UUCP> <13344@mimsy.UUCP> <697@proxftl.U <391@pigs.UUCP>
Reply-To: bill@proxftl.UUCP (T. William Wells)
Organization: Proximity Technology, Ft. Lauderdale
Lines: 24