Author: Dann Corbit
Date: 15:34:29 08/20/02
Go up one level in this thread
On August 20, 2002 at 17:12:40, Russell Reagan wrote: >On August 20, 2002 at 16:08:47, Daniel Clausen wrote: > >>warning: implicit declaration of function `printf' > >I get: > >warning C4013: 'printf' undefined; assuming extern returning int > >And then it compiles and runs fine. Purely an accident. According to the ISO C standard, it is perfectly OK for execution of the program to cause demons to fly out of your nose (an ancient interpretation from news:comp.std.c). The printf() function is varadic (variable number of arguments). If you compile a varadic function without a prototype in scope, the behavior of the program is undefined.
This page took 0.01 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.