From: Ralph T. <ra...@gm...> - 2005-04-28 23:30:06
|
Hmm... that's odd. It compiled okay on MSVC (with the #ifdef ADOBE_PLATFORM_MAC stuff commented out). I was planning on changing that line anyway (to create a window_server instead), but I'm more curious about the infinite recursion error -- I've been able to use window_server_t (which uses make_view) with both files and streams without troubles, although I haven't been using Begin... can you give any more information on the recursion problem? I'll look at replacing that line, too. Thanks, Ralph On 4/28/05, David Catmull <unc...@un...> wrote: > I made this change in express_viewer.cpp (starting at line 131): >=20 > static std::ifstream editor_stream_s(editor_eve.c_str()); > static adobe::auto_ptr<eve_client::eve_client_holder> editor_view= _s( > eve_client::make_view( editor_eve.c_str(), > editor_stream_s,//std::ifstream(editor_eve.c_str(= )), > editor_sheet_s, > [snip] >=20 > to fix this: >=20 > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/express_viewer.cpp:141: error: could not convert > `ifstream((&editor_eve)->std::basic_string<_CharT, _Traits, > _Alloc>::c_str() const [with _CharT =3D char, _Traits =3D > std::char_traits<char>, _Alloc =3D std::allocator<char>](), > (std::_Ios_Openmode)8)' to `std::istream&' >=20 > ...but that gets me an infinite recursion situation in Begin that has > been difficult to track down. But maybe I won't have to if there's a > different fix for the above error :) >=20 > -- > David Catmull > unc...@un... > http://www.uncommonplace.com/ >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > |