Path: utzoo!utgpu!jarvis.csri.toronto.edu!helios.physics.utoronto.ca!ists!sam!mike From: mike@sam.ists.ca (Mike Clarkson) Newsgroups: comp.windows.x Subject: Bug in img 1.2 - exhibit.c and maint_back.c Message-ID: <108@sam.ists.ca> Date: 11 Mar 90 04:33:22 GMT Organization: Institute for Space and Terrestrial Science Lines: 63 In X.V11R4/contrib/clients/new/img/imgprogs/exhibit there are defines like #ifndef hpux #define volatile "" #endif and then the use of vaolatile as a data type. Gcc 1.35 doesn't like this. (X11R4 PL 5, SunOS 3.5, gcc 1.35) Mike. *** exhibit.c.dst Wed Mar 7 18:52:51 1990 --- exhibit.c Sat Mar 10 19:53:03 1990 *************** *** 123,129 **** #ifndef hpux ! #define volatile "" #endif extern rnd_init (); /* Initialize random number generator */ --- 123,129 ---- #ifndef hpux ! #define volatile #endif extern rnd_init (); /* Initialize random number generator */ *** maint_back.c.dst Wed Mar 7 18:52:51 1990 --- maint_back.c Sat Mar 10 19:53:35 1990 *************** *** 98,104 **** #ifndef hpux ! #define volatile "" #endif --- 98,104 ---- #ifndef hpux ! #define volatile #endif Mike. -- Mike Clarkson mike@ists.ists.ca Institute for Space and Terrestrial Science uunet!attcan!ists!mike York University, North York, Ontario, FORTRAN - just say no. CANADA M3J 1P3 +1 (416) 736-5611