From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ca7e0eefd5fd422b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1993-03-10 03:06:50 PST Path: sparky!uunet!mcsun!uknet!glasgow!unix.brighton.ac.uk!wjmc From: wjmc@unix.brighton.ac.uk (-*_Cuddly_Cactus_*-) Newsgroups: comp.lang.ada Subject: Re: Turbo Ada Message-ID: <1993Mar9.165710.12963@unix.brighton.ac.uk> Date: 9 Mar 93 16:57:10 GMT Organization: University of Brighton, UK Date: 1993-03-09T16:57:10+00:00 List-Id: cjames@DSC.BLM.GOV (Colin James 0621) writes: > ... In fact, the highest quality C compilers now > are for PCs. For example, try calling a void function_test as > "function_test", rather than "function_test ( )". The Prime C compiler > and the Sun ANSII C compiler both compile "function_test", then at run- > time simply skip over the line. But the PC compilers flag the error and > tell you "which function or if a variable, not found". Uh ... surely the name of a function without the () is just a constant expression of type void (*)(), yielding the address (well pointer to) the function concerned ??? -- # Bill Crawford aka *Cuddly_Cactus* BSc (Hons) Computer Science Year Two # # JANET wjmc@uk.ac.bton.{unix,vms} | Elsewhere wjmc@{unix,vms}.bton.ac.uk # # Any views I express are not necessarily those of Brighton Polytechnic #