Comments for LogMon
16 May 2001 16:50
Cool app tho...
I got the compiled package -I prefer to compile it myself, of course, but...- and it works nicely. Pretty useful program. Thanks!
16 May 2001 16:15
Re: This does not compiles
> This is what I get:
>
> g++ -DHAVE_LIBNCURSES=1
> -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
> -DRETSIGTYPE=void -I. -I. -c
> Main.cc
> Main.cc: In function `int init ()':
> Main.cc:41: warning: no return
> statement in function returning
> non-void
> g++ -DHAVE_LIBNCURSES=1
> -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
> -DRETSIGTYPE=void -I. -I. -c
> Frame.cc
> Frame.cc: In method `int
> Frame::setVariables ()':
> Frame.cc:59: warning: no return
> statement in function returning
> What gives?
My compiler never gave those errors. Much of it stems from functions being declared as 'void' in the header, but not in the source. Also functions declared to return 'int' not returning values...
I will make some fixes (this is the initial release, and I haven't compiled on many different machines) based on feedback and get a new release out. (Or a compiled version on the site).
Thanks for the feedback!
>
16 May 2001 16:01
This does not compiles
This is what I get:
g++ -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -I. -I. -c Main.cc
Main.cc: In function `int init ()':
Main.cc:41: warning: no return statement in function returning non-void
g++ -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -I. -I. -c Frame.cc
Frame.cc: In method `int Frame::setVariables ()':
Frame.cc:59: warning: no return statement in function returning
non-void
Frame.cc: At top level:
Frame.cc:62: ISO C++ forbids declaration of `reSize' with no type
Frame.cc:62: new declaration `int Frame::reSize (unsigned int)'
Frame.h:35: ambiguates old declaration `void Frame::reSize (unsigned
int)'
Frame.cc: In method `int Frame::reSize (unsigned int)':
Frame.cc:64: warning: no return statement in function returning
non-void
Frame.cc: At top level:
Frame.cc:140: ISO C++ forbids declaration of `read' with no type
Frame.cc:140: new declaration `int Frame::read ()'
Frame.h:42: ambiguates old declaration `void Frame::read ()'
Frame.cc: In method `int Frame::read ()':
Frame.cc:203: warning: no return statement in function returning
non-void
Frame.cc: At top level:
Frame.cc:250: ISO C++ forbids declaration of `print' with no type
Frame.cc:250: new declaration `int Frame::print ()'
Frame.h:43: ambiguates old declaration `void Frame::print ()'
Frame.cc: In method `int Frame::print ()':
Frame.cc:292: no match for `fpos_t & = long int'
/usr/include/_G_config.h:30: candidates are: _G_fpos_t
&_G_fpos_t::operator= (const _G_fpos_t &)
Frame.cc:293: warning: no return statement in function returning
non-void
make: *** [Frame.o] Error 1
What gives?
Nice utility
I am evaluating this utility, and I like it.
Suggestion: an option to specify the configuration file in the command line.
Nice little app.