home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17656 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.8 KB  |  53 lines

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!sgigate!rutgers!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: wierd sas/c bug
  5. Message-ID: <BzM6F7.E6K@unx.sas.com>
  6. Date: 21 Dec 92 14:47:30 GMT
  7. References: <BzIw0y.n31@ccu.umanitoba.ca>
  8. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  9. Organization: SAS Institute Inc.
  10. Lines: 39
  11. Originator: walker@twix.unx.sas.com
  12. Nntp-Posting-Host: twix.unx.sas.com
  13.  
  14.  
  15. In article <BzIw0y.n31@ccu.umanitoba.ca>, umfehr06@ccu.umanitoba.ca (John Fehr) writes:
  16. |> I've been trying to compile an lpmud driver with sas/c, and I've
  17. |> come upon a wierd bug...  In my main program file, I have the following
  18. |> code:
  19.  
  20. |> char master_file = "obj/master";
  21.         ^ Obvious typo.  Missing a '*'
  22.  
  23. Please post a COMPILABLE example.  I can virtually guarantee that this
  24. is not a compiler bug.  A compiler that broken would not compile
  25. itself.  I typed in the following and it works fine (all default
  26. options):
  27.  
  28.    #include <stdio.h>
  29.    char *master_file = "obj/master";
  30.  
  31.    int main(void)
  32.    {
  33.       printf("%s\n", master_file);
  34.       return(0);
  35.    }
  36.  
  37. |>   Any help would be greatly appreciated.
  38.  
  39. The correct place to go for help is tech support, which is
  40. available via net mail using the EMITS facility described
  41. in Chapter 3 of the User's Guide volume I.
  42.  
  43. |> -  John Fehr                        -    DoD#505    -
  44.  
  45. -- 
  46.   *****
  47. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  48.  *|. o.| ||                                          1200/2400/9600 Dual
  49.   | o  |//     For all you do, this bug's for you!
  50.   ====== 
  51. usenet: walker@unx.sas.com                            bix: djwalker 
  52. Any opinions expressed are mine, not those of SAS Institute, Inc.
  53.