bobmon@iuvax.UUCP (Bobmon) (01/31/88)
I recompiled a program today with Turbo C v1.5, which I had previously ported for v1.0. The program required the global variable _fmode to get an initialized value, so I redefined it. This originally caused me to discover that, although the manual says it's an 'extern int' type, it really is (was) of type 'extern unsigned'. The quirk is that the v1.5 upgrade gives a manual correction so that it reads 'extern unsigned'. HOWEVER, the variable itself has become 'extern int _Cdecl' (as seen in fcntl.h). So the old manual entry is closer than the correction I guess. Dominate your next Trivial Pursuits game! Collect ALL compiler bugs today!!!