[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build problems on hppa



On Thu, Oct 04, 2001 at 07:05:59AM +0200, peter karlsson wrote:
> Matthew Wilcox:
> 
> > string is now in the std:: namespace, not the global one.
> 
> Hmmm, I thought that one would be brought in automatically. The
> question is: Can I fix this so that the program will still be
> compilable with old versions of gcc (I need to be able to compile with
> gcc 2.8.1 on OS/2), or should I just add in a "Build-Depends: gcc (<< 3.0)"
> in the control file?

Then you would be unbuildable on hppa, which only has gcc 3.0 and later.

Using 'use namespace std;' should work on G++ 2.81 (it does on 2.95.x),
but may not. Isn't 2.9.x available on OS/2?

regards
Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: