heartboy at nycap.rr.com
Wed Feb 19 19:51:36 PST 2003
On Wednesday 19 February 2003 10:23 pm, you wrote:
> On Wed, 19 Feb 2003 20:27:10 -0500
> Joe Morris <heartboy at nycap.rr.com> wrote:
> > Hey guys! I wrote a very basic C++ program for my CS class, and it
> > seems to compile fine on gcc-2.95.2, but fails with gcc-3.2 and
> > gcc-3.2.2. I'm trying to overload the << operator for a class that
> > I created. I attached the source code, and attached the error log
> > as well. Would you guys mind looking it over? It is really simple.
> > My professor can't seem to find anything
> > wrong with the code. If you guys can't find anything wrong, then I
> > guess I'll submit a bug report to the GCC folks. Thanks guys!
> > Joe
> How are you compiling the three files? What's your gcc command(s)
> look like?
g++ main.cpp time.cpp -o timetest
Thinking that might have been the issue, I tried compiling them separately by
doing 'g++ -c main.cpp; g++ -c time.cpp'. But it still barfed at line 22 in
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message
More information about the lfs-chat