home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4702 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.1 KB

  1. Path: sparky!uunet!uunet.ca!canrem!dosgate![david.snowdon@canrem.com]
  2. From: "david snowdon" <david.snowdon@canrem.com>
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: c help
  5. Message-ID: <1992Sep6.618.8119@dosgate>
  6. Date: 6 Sep 92 16:50:34 EST
  7. Reply-To: "david snowdon" <david.snowdon@canrem.com>
  8. Distribution: comp
  9. Organization: Canada Remote Systems
  10. Lines: 24
  11.  
  12.    I'm am unable to compile the Motorola 6809 cross-assembler using
  13. the H&S Sozobon C compiler due to two errors:
  14.  
  15.            error in as.h (124): pointer type not allowed
  16.            error in ffwd.c (10): pointer type not allowed
  17.            2 errors
  18.  
  19.    The code for as.h (lines 123 and 124) is:
  20.  
  21. FILE    *Objfil =0;             /* object file's file descriptor*/
  22. char    Obj_name[] = {"             "};
  23.  
  24.    And the code for ffwd.c (lines 9 and 10) is:
  25.  
  26. int     Forward =0;             /* temp file's file descriptor  */
  27. char    Fwd_name[] = { "Fwd_refs" } ;
  28.  
  29.    I'm just starting learn how to program in C and could use any
  30. suggestions that you might have.
  31.  
  32.       David
  33. --
  34. Canada Remote Systems  - Toronto, Ontario/Detroit, MI
  35. World's Largest PCBOARD System - 416-629-7000/629-7044
  36.