home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!cbmehq!cbmger!edohwg!heinz
- From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
- Newsgroups: comp.sys.amiga.programmer
- Subject: CXERR from SAS/C 6.0 SC compiler frontend
- Message-ID: <heinz.04nl@edohwg.adsp.sub.org>
- Date: 16 Nov 92 18:55:40 GMT
- Organization: Edotronik GmbH
- Lines: 41
-
- The code below is silly, ugly and you kow what, I know. It wouldn't work
- anyway and I don't do it that way. But nevertheless it should compile.
-
-
- ---- cut ----
- #include <dos.h>
- #include <stdlib.h>
- #include <exec/types.h>
-
- static void __asm SPutC(register __d0 ULONG chr)
- {
- ULONG buf=getreg(11);
-
- *((STRPTR)buf++) = chr;
-
- putreg(11, buf);
-
- } /* SPutC */
- ---- cut ----
-
- Trying to compile without any special options gives me:
-
- ---- cut ----
- 9.FAST2:dme/src> sc sc6bug.1
- SAS/C Amiga Compiler 6.00
- Copyright (c) 1988-1992 SAS Institute Inc.
- CXERR: 460323, Line: 11, Qpos: 16
- ---- cut ----
-
- PS: This is not yet reported to emits. I still have problems registering
- :-((
-
-
-
- --
- Heinz Wrobel, Edotronik GmbH (ECG018)
- FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
- Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
- "It's good to have a mouse, it's faster if you can do without one..."
- "He who doesn't develop with an A2024 doesn't know about font independent
- user interfaces..."
-