Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!ut-sally!nather From: nather@ut-sally.UUCP (Ed Nather) Newsgroups: comp.sys.ibm.pc Subject: Turbo C vs. Library function names Message-ID: <9130@ut-sally.UUCP> Date: Fri, 25-Sep-87 14:48:09 EDT Article-I.D.: ut-sally.9130 Posted: Fri Sep 25 14:48:09 1987 Date-Received: Sun, 27-Sep-87 01:26:50 EDT Organization: U. Texas CS Dept., Austin, Texas Lines: 23 Keywords: How do you pre-empt them? I'm trying out Turbo C on a lot of C code that was written for (and successfully compiled by) Microsoft C v4.0. The results so far are very good: I've only had to add an explicit "fflush()" here and there that MSC didn't really need, but probably should have had in there anyway. The only real problem I've encountered is when I have named a function of mine with the same name Turbo uses as a library function ... e.g. peek(). In MSC, library functions are selectively ignored if you have already defined a function using the same name in your code, but Turbo gets all upset about it, and refuses to acknowledge my inalienable right to pick overlapping names for my functions. That's a simple way to replace a library funtion you don't like. I assume this is a known bug that will be fixed someday, but does anyone have a workaround? ...Or am I just being dumb (again)? -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU