home *** CD-ROM | disk | FTP | other *** search
- Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
- Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sm86+
- Newsgroups: comp.sys.atari.st.tech
- Message-ID: <ceed3He00awKE4IUd4@andrew.cmu.edu>
- Date: Sun, 6 Sep 1992 19:14:27 -0400
- From: Stefan Monnier <sm86+@andrew.cmu.edu>
- Subject: Re: c help
- In-Reply-To: <1992Sep6.618.8119@dosgate>
- References: <1992Sep6.618.8119@dosgate>
- Distribution: comp
- Lines: 45
-
- Excerpts from netnews.comp.sys.atari.st.tech: 6-Sep-92 c help david
- snowdon@canrem.com (784)
-
-
- > I'm am unable to compile the Motorola 6809 cross-assembler using
- > the H&S Sozobon C compiler due to two errors:
-
- > error in as.h (124): pointer type not allowed
- > error in ffwd.c (10): pointer type not allowed
- > 2 errors
-
- > The code for as.h (lines 123 and 124) is:
-
- > FILE *Objfil =0; /* object file's file descriptor*/
- > char Obj_name[] = {" "};
-
- > And the code for ffwd.c (lines 9 and 10) is:
-
- > int Forward =0; /* temp file's file descriptor */
- > char Fwd_name[] = { "Fwd_refs" } ;
-
- > I'm just starting learn how to program in C and could use any
- > suggestions that you might have.
-
- > David
- > --
- > Canada Remote Systems - Toronto, Ontario/Detroit, MI
- > World's Largest PCBOARD System - 416-629-7000/629-7044
-
- Given this little piece of code, I would just suggest to remove
- the { and the } in lines 124 and 10 !
-
- At least, these are syntax errors !
-
- Stefan Monnier
-
-
- -----------------------------------------------------
- -- On the average, people seem to be acting normal --
- -----------------------------------------------------
-
-
-
-
-
-