> > I suspect you might be having a little too much fun
> > with command line
> > parameters. :) To build the object file use
> > 
> > $ g++ -g stack.cpp
> 
> This fails because of an undefined reference to `main'
> presumably because there in no main( ) in the Stack library

Did I write that? Oops. -g is the debug symbols flag, and is good to
include so you can use gdb. I meant to write

$ g++ -c stack.cpp

Sorry.

Cheers,
Ryan



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to