comp.lang.ada
 help / color / mirror / Atom feed
From: wjmc@unix.brighton.ac.uk (-*_Cuddly_Cactus_*-)
Subject: Re: Turbo Ada
Date: 9 Mar 93 16:57:10 GMT
Date: 1993-03-09T16:57:10+00:00	[thread overview]
Message-ID: <1993Mar9.165710.12963@unix.brighton.ac.uk> (raw)

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  #



             reply	other threads:[~1993-03-09 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-03-09 16:57 -*_Cuddly_Cactus_*- [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-03-04  5:21 Turbo Ada Colin James 0621
1987-08-31 12:36 johnson
1987-08-31 12:32 johnson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox