#THIN C vs.THINK C
18-Jul-93 21:29:05
Sb: #7126-#THIN C vs.THINK C
Fm: Steve Stockman 76507,2646
To: Michael W. Fordice, PhD 76635,152
Michael:
Did you #include <stdio.h> in your source file? Think C 6 is much stricter on
prototype checking than is Thin C or previous versions of Think C. Without the
the prototype from <stdio.h>, the compiler doesn't realize that printf has a
variable argument list; from your first reference, it infers the prototype
int printf (char *, int);
Of course, none of your subsequent uses of printf conform to this prototype,
hence the error.
Steve