home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!crdgw1!rpi!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!geek
- From: geek@casbah.acns.nwu.edu (Myrland Gray)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: MPW Compile errors, Help!!! (long)
- Message-ID: <1992Dec31.161417.18888@news.acns.nwu.edu>
- Date: 31 Dec 92 16:14:17 GMT
- References: <1992Dec23.075909.1414@galaxy.gov.bc.ca>
- Sender: geek@casbah.acns.nwu.edu
- Distribution: usa
- Organization: Northwestern University, Evanston Illinois.
- Lines: 29
- Nntp-Posting-Host: unseen1.acns.nwu.edu
-
- In article <1992Dec23.075909.1414@galaxy.gov.bc.ca> cconstantine@galaxy.gov.bc.
- ca writes:
- >I used the routine
- >found in Dave Mark & Cartwright Reed's C book 2, chapter 4 and just modified
- >it so that all I want is the 8-bit depth. However, I get the following error
- >message when I compile:
- >
- ># 7:55:00 AM ----- Build of AR DataLogger/Mac.
- ># 7:55:00 AM ----- Analyzing dependencies.
- ># 7:55:02 AM ----- Executing build commands.
- > Rez 'AR DataLogger/Mac.r' -append -o 'AR DataLogger/Mac'
- > C -r -i ":Hdrs:" -sym on ":Src:"Main.c -o ":Obj:"Main.c.o
- ># pixDepth = GetPixelDepth( curDev );
- ># if ( pixDepth <> 8 )
- ># ?
- >### Error 22 error in factor
- ># ?
- >### Error 29 ')' expected
- ># ?
- >### Error 30 ';' expected
- ># ?
- >### Error 22 error in factor
-
- Let me guess...you used to be a Pascal programmer? Try using != instead of <>.
- It's not MPW you're having problems with, it's C. Seriously though, it is an
- easy mistake to make when switching around between languages ;-)
-
- Joey Gray
- geek@casbah.acns.nwu.edu
-