Path: ns-mx!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!malgudi!caen!uwm.edu!psuvax1!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.sys.apple2 Subject: ORCA/C header bugs Keywords: ORCA/C 1.2 APW header bugs Message-ID: <16733@smoke.brl.mil> Date: 15 Jul 91 09:03:31 GMT Organization: U.S. Army Ballistic Research Laboratory (BRL), APG, MD. Lines: 38 Bug fixes for ORCA/C release 1.2 (including APW) header files (in ORCACDEFS): To avoid copyright hassles, I show only enough of the context to make the patch. ASSERT.H: #ifndef NDEBUG extern void exit (int status); /* DAG -- was missing */ extern int printf(char *format, ...); /* DAG -- was missing */ #define assert(expression) (((expression) == 0) ? (printf("Assertion failed: file %s, line %d\n", __FILE__, __LINE__), exit(-1)): (void)0) /* DAG -- added cast */ Note that this is still not a fully standard-conforming . MISCTOOL.H: #define alreadyInQueue 0x0382 /* DAG -- added following for 5.0.4: */ #define badTimeVerb 0x0390 /* Invalid convVerb value */ #define badTimeData 0x0391 /* Invalid date or time to be converted */ extern pascal void ClrHeartBeat() inline(0x1403,dispatcher); /* DAG -- added following for 5.0.4: */ extern pascal unsigned long ConvSeconds() inline(0x3703,dispatcher); QUICKDRAW.H: #define mode640 0x0080 /* Argument to QDStartup */ #define noFastFont 0x1000 /* masterSCB bit; DAG -- added for 5.0.4 */ SIGNAL.H: void (*signal(int sig, void (*func) (int)))(/*int*/); /* DAG */ int raise(int sig); WINDOW.H: #define tmIdleEvents 0x00100000L #define tmNoGetNextEvent 0x00200000L /* DAG -- added for 5.0.4 */