home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Subject: Re: A bug in SAS/C 6.0
- Originator: walker@twix.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <C0C3E2.GIv@unx.sas.com>
- Date: Mon, 4 Jan 1993 14:39:37 GMT
- References: <1i29gdINN2he@mirror.digex.com>
- Nntp-Posting-Host: twix.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 50
-
-
- In article <1i29gdINN2he@mirror.digex.com>, tstark@access.digex.com (Timothy M. Stark) writes:
- |> I discovered that bug in the compiler. I implemented a few typedef
-
- Yes, yes, it's ANOTHER compiler bug that turns out not to be a compiler
- bug. Please don't accuse the compiler of having a bug until you know
- for sure what you're talking about.
-
- |> #include <stdio.h>
- |>
- |> typedef struct bug1 {
- |> bug2 *bugb;
- ^^^^
- Here you are using a typedef before defining it.
- This is illegal.
-
- |> } bug1;
- |>
- |> typedef struct bug2 {
- |> bug1 *buga;
- |> } bug2;
- |>
- |>
- |> This program cause the compiler confusing and it displayed the strange
- |> message - Missing closed bracket (']'). I looked for the open bracket
- |> character but it is not in my program!
-
- The message is "Closing brace expected". A brace is }, not ]. This occurs
- on the word "bug2" in the first structure definition, and is totally
- correct since you haven't defined "bug2" to be anything at all yet.
-
- |> I have SAS/C 6.1 patches here. I tried to patch them to my SAS/C 6.0 diskettes
- |> (backup diskettes) but they complaint that not enough memory in my Amiga
- |> computer ( 512K chip ram and 512K fast ram).
-
- Really??? I'm surprised at that... how much memory do you have FREE when you
- try to install the patch? Maybe you can do without some background programs
- or some resident programs long enough to install the patch.
-
- |> -- Tim Stark
-
- --
- *****
- =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
- *|. o.| || 1200/2400/9600 Dual
- | o |// For all you do, this bug's for you!
- ======
- usenet: walker@unx.sas.com bix: djwalker
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-
-