Yo,

> > > like
> > >
> > > include <header>
> > >
> > > rather than
> > >
> > > include <header.h>
> > >
> > > ?
> > >
> > > It must work with some versions of gcc as other people can compile it.
> > >
> > 
> > Just curious but you use gcc  command to compile c++ app? I would tend  to use
> > the g++ command if I were you.
>
> It's the same thing.  gcc detects that you're doing c++ based on file
> extension I believe
>


Uhh, kind of.

Say ...

-- <cut> --
#include <iostream>

int main () {
        cout << "Hello world" << endl;
        return 0;
}

--</cut> --

When you use g++ it will work but not with gcc since ld will barf (At least
for me (tm))

--
Geoff

Reply via email to