Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!mailer.cc.fsu.edu!sun13!sun8.scri.fsu.edu!nall From: nall@sun8.scri.fsu.edu (John Nall) Newsgroups: comp.os.minix Subject: Things remembered.... Message-ID: <1017@sun13.scri.fsu.edu> Date: 5 Oct 90 18:04:07 GMT Sender: news@sun13.scri.fsu.edu Reply-To: nall@sun8.scri.fsu.edu (John Nall) Organization: Supercomputer Computations Research Institute Lines: 37 Having been once again bit by something which bites me from time to time, I thought I would just throw it out to be sure that everyone is aware of it (kind of sharing the pain). The following program: #include #include main() { } does not compile, and, indeed, produces scary errors that say: "/usr/include/pwd.h", line 8: } missing "/usr/include/pwd.h", line 8: (warning) old-fashioned initialization, insert = "/usr/include/pwd.h", line 8: pw_uid undefined "/usr/include/pwd.h", line 9: (warning) old-fashioned initialization, insert = "/usr/include/pwd.h", line 9: pw_gid undefined "/usr/include/pwd.h", line 16: } deleted "/usr/include/sys/types.h", line 27: redeclaration of gid_t with different type "/usr/include/sys/types.h", line 33: redeclaration of uid_t with different type On the other hand, as I have to from time to time remember, the same program, with a mere rearrangement of the include statements, will compile and execute with nary an error. #include #include main() { } Gawd, how I love working with computers!!!! -- John W. Nall | Supercomputation Computations Research Institute nall@sun8.scri.fsu.edu | Florida State University, Tallahassee, FL 32306 "Real programmers can write assembly code in any language." - Larry Wall