Re: g++-3.0 question

2001-05-03 Thread Ulrich Eckhardt
> #include should be #include > #include should be #include for the rest, apply either of the proposed solutions by Tellef Fog Heen. cheers Uli

Re: A second g++-3.0 question

2001-05-02 Thread David A. Greene
Peter S Galbraith wrote: The following (template instantiations), lines 48 and 49 of a file (which attached in full) template.cc:48: non-template used as template template.cc:49: non-template used as template #include Nit: #i

A second g++-3.0 question

2001-05-02 Thread Peter S Galbraith
The following (template instantiations), lines 48 and 49 of a file (which attached in full) template void reverse(std::vector::iterator, std::vector::iterator); template void sort(std::vector::iterator, std::vector::iterator compile in g++ 2.96, but they fail in g++ 3.0, with the error message:

Re: g++-3.0 question

2001-05-02 Thread Tollef Fog Heen
* Peter S Galbraith | : Any advice on how to change the code? He's bitten by the namespaces thing. Adding std:: in front of vector might fix it. Or 'using namespace std;' -- Tollef Fog Heen Unix _IS_ user friendly... It's just selective about who its friends are.

g++-3.0 question

2001-05-02 Thread Peter S Galbraith
I'm not a C++ hacker, and would appreciate any help on this. In preparation for g++-3.0, I setup a Debian unstable chroot tree on a friend's Red Hat system. He is upstream for the `gri' package. It currently doesn't build on g++-3.0, and he wanted to port the code. He is stuck on a problem: :