home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!sgigate!rutgers!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: wierd sas/c bug
- Message-ID: <BzM6F7.E6K@unx.sas.com>
- Date: 21 Dec 92 14:47:30 GMT
- References: <BzIw0y.n31@ccu.umanitoba.ca>
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Organization: SAS Institute Inc.
- Lines: 39
- Originator: walker@twix.unx.sas.com
- Nntp-Posting-Host: twix.unx.sas.com
-
-
- In article <BzIw0y.n31@ccu.umanitoba.ca>, umfehr06@ccu.umanitoba.ca (John Fehr) writes:
- |> I've been trying to compile an lpmud driver with sas/c, and I've
- |> come upon a wierd bug... In my main program file, I have the following
- |> code:
-
- |> char master_file = "obj/master";
- ^ Obvious typo. Missing a '*'
-
- Please post a COMPILABLE example. I can virtually guarantee that this
- is not a compiler bug. A compiler that broken would not compile
- itself. I typed in the following and it works fine (all default
- options):
-
- #include <stdio.h>
- char *master_file = "obj/master";
-
- int main(void)
- {
- printf("%s\n", master_file);
- return(0);
- }
-
- |> Any help would be greatly appreciated.
-
- The correct place to go for help is tech support, which is
- available via net mail using the EMITS facility described
- in Chapter 3 of the User's Guide volume I.
-
- |> - John Fehr - DoD#505 -
-
- --
- *****
- =*|_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.
-