🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13497

Re: Aztec 5.0

#13497
From: Larry Phillips
Date: Sat, 03 Feb 1990 14:28
29 lines
1695 bytes
In <6285@cps3xx.UUCP>, griffin@frith.egr.msu.edu writes:
>In an article Karl Lehenbauer [Organization: Sugar Land Unix - Houston]
>writes:
>
>> This will work with old-style K&R declarations as well.  Here is where I
>> found the only bug I've found so far -- it wrote into the prototype file
>> a parameter of "int foo" when the K&R-style argument was
>> "register char *foo".
>
>ANSI requires that taking of the address of 'register' is always an error,
>even if the object is placed in addressable memory.  Older versions of
>Aztec C would ignore the 'register'.

Hmmm... where is the 'address of register' in that declaration? I see a char
(*foo), a pointer (foo), and foo is in a register.

I tend to have to struggle with C, but I thought I had that bit down pat. If
you are correct, then I will have to do some concept adjustments.

-larry

--
  This life is a test. It is only a test. If this had been a real life,
  you would have been told where to go and what to do.
+-----------------------------------------------------------------------+ 
|   //   Larry Phillips                                                 |
| \X/    lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips |
|        COMPUSERVE: 76703,4322  -or-  76703.4322@compuserve.com        |
+-----------------------------------------------------------------------+
Technical Details
Message-ID: <1105@lpami.wimsey.bc.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!van-bc!

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!van-bc!
From: lphillips@lpami.wimsey.bc.ca (Larry Phillips)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Aztec 5.0
Message-ID: <1105@lpami.wimsey.bc.ca>
Date: 3 Feb 90 14:28:32 GMT
Lines: 29
Return-Path: <lpami!lphillips>
To: van-bc!rnews