Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!samsung!munnari.oz.au!bruce!cechew From: cechew@bruce.cs.monash.OZ.AU (Earl Chew) Newsgroups: comp.os.minix Subject: cppmake and Minix 1.5.10 Keywords: cppmake Message-ID: <3276@bruce.cs.monash.OZ.AU> Date: 25 Oct 90 05:35:51 GMT Organization: Monash Uni. Computer Science, Australia Lines: 35 cppmake will be rejuvenated real soon now. There are incompatibilities with the Posixfied header files. In the interim the following may be of interest. Earl ------------------------------------------------------------------------------- cppmake was written many moons ago when all we had was Minix 1.3. The makefiles reflect this. I think that it's probably about time that I extract it and bring the source up to date. Sigh. > cc -c -DCPPOPT=\"-D_MINIX\",\"-D_V7\" -D_MINIX -DINTSIGNAL -DCHARMALLOC cppmake.c > "/usr/include/string.h", line 8: (warning) redefine "NULL" Broken ack compilers require #include _last_ ! Rearrange the order of #includes. > "cppmake.c", line 107: illegal redeclaration of pid_t Old sys/types.h was broken (left out pid_t). The new one has it. Now cppmake is broken. Comment out the offending line in cppmake. > "cppmake.c", line 162: redeclaration of signal with different type Old signals were int signal(). Now Posixfied it is void signal(). > "cppmake.c", line 849: (warning) incompatible pointers in != Probably int signal() and void signal() associated problems. The signal problems can be alleviated by not using -DINTSIGNAL. ------------------------------------------------------------------------------- -- Earl Chew, Dept of Computer Science, Monash University, Australia 3168 EMAIL: cechew@bruce.cs.monash.edu.au PHONE: 03 5655447 FAX: 03 5655146 ----------------------------------------------------------------------