You don't have function prototypes for the functions you're calling, and the default retrun value is an int. You need to include the header files that prototype the functions.
-- Sincerely, David Smead http://www.amplepower.com. On Fri, 26 Apr 2002, Paul 'Baloo' Johnson wrote: > On Fri, 26 Apr 2002, Tim locke wrote: > > > [EMAIL PROTECTED]:/test$ make > > c++ -I. -O -Ilinux-include -c Func.cc > > Func.cc: In function `void do_fmt(const char *&, Val > > *, ODesc *)': > > Func.cc:247: implicit declaration of function `int > > localtime(...)' > > Func.cc:247: implicit declaration of function `int > > strftime(...)' > > make: *** [Func.o] Error 1 > > > > Any Ideas? > > 1) Please don't ask us to do your CS homework in the future. I > recognize the tactic, I tried it in high school. > > 2) It's not make, it's your code. It's telling you *exactly* what's > going on. There's something funky going on at line 247 in Func.cc that > you need to take a long look at. > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]