Re: Compilation problem
- From: Daniel Elstner <daniel kitta googlemail com>
- To: Fabrício Godoy <skarllot gmail com>, Armin Burgmeier <armin arbur net>
- Cc: gtkmm-list gnome org
- Subject: Re: Compilation problem
- Date: Thu, 30 Apr 2009 01:09:02 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]