Hi,
Am Montag, den 27.04.2009, 14:16 -0300 schrieb Fabrício Godoy:
> I can compile for Windows by two ways, using native Windows (I using
> gtkmm-win32-devel-2.14.3-2.exe) and Linux cross-compilation.
> Each one appears to be compiled in different ways.
>
> The following compiles on native Windows, but not on Linux
> cross-compilation:
> Glib::ustring::format(std::setfill('0'), std::setw(2), 30);
Yes, that's a bug if the platform does have std::wostream, which I think
it does. It's exactly the same problem which prevented you from using
ustring::format() for converting std::wstring to Glib::ustring.
> The following compiles on Linux cross-compilation, but not on native
> Windows:
> Glib::ustring::format(std::setfill(L'0'), std::setw(2), 30);
I am glad to hear that it works when cross-compiling, because that means
the configure script is correctly doing its autoconf magic.
Armin, perhaps the config.h file that is generated when cross-compiling
could be used as a starting point for the Visual Studio build?
--Daniel
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list