Re: [stella] How to make Stella (please help)

Subject: Re: [stella] How to make Stella (please help)
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Fri, 21 Dec 2001 15:24:56 +0100
Greg Miller wrote:
>Older versions of gcc didn't correctly implement namespaces. 
They simply 
>included a hack that
>allowed "std::string" to be treated as synonymous with 
"string"... 
>Naturally, lots of code was
>written that relied on that. It sounds like you're running 
into this 
>problem. You can add a line
>consisting of "using namespace std;" or add "std::" to each 
symbol that 
>gives you an error.

Yup, moving "using namespace std;" in bspf.hxx outside the 
"#ifdef BSPF_WIN32" part solves the string problems with the 
3.0.x version. Thanks!

Unfortunately more problems occure when building mainDOS.cxx:
../ui/dos/mainDOS.cxx: In function `int main(int, char**)':
../ui/dos/mainDOS.cxx:702: `nocreate' is not a member of type
   `std::basic_ios<char, std::char_traits<char> >'
../ui/dos/mainDOS.cxx:710: no matching function for call to
   `std::basic_ifstream<char, std::char_traits<char> 
>::read(uInt8*&, int)'
d:/djgpp/lang/cxx-v3/bits/istream.tcc:750: candidates are:
   std::basic_istream<_CharT, _Traits>& 
std::basic_istream<_CharT,
   _Traits>::read(_CharT*, int) [with _CharT = char, _Traits =
   std::char_traits<char>]

Any ideas?

Have fun!
Thomas



----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread