[GEM-dev] Dylib on MinGW (was Re: nightly builds using Gem build system)
IOhannes m zmölnig
zmoelnig at iem.at
Sat Jul 23 16:01:54 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/21/2011 10:31 PM, Hans-Christoph Steiner wrote:
> I'm up for doing that as a temporary fix. My guess is the real fix will
> be using the MinGW64 toolchain... too bad there is no package management
> for that.
definitely.
>
> In the meantime, it seems that the MinGW build is dying on something
> different, which is not making sense to me:
>
> Dylib.cpp:104: error: ISO C++ forbids casting between
> pointer-to-function and pointer-to-object
> Dylib.cpp: In member function `bool GemDylib::run(std::string)':
> Dylib.cpp:113: error: ISO C++ forbids casting between
> pointer-to-function and pointer-to-object
>
obivously, the compiler thinks that "void*" is a pointer to an object,
and it knows that we need a pointer to a function, and ISO C++ forbids
the conversion between the two...
weird, it doesn't happen anywhere else (and i'm not sure that they are
right in saying that (void*) is indeed a pointer to an object...)
anyhow, i hope i fixed it with rev4361
fgmasr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4q1FIACgkQkX2Xpv6ydvQqOwCfeQRkPnVJMRAiqSyxwARfprLC
9MwAni7FqXA2MnA9Daz48Kzd9agx3NqC
=Blfj
-----END PGP SIGNATURE-----
More information about the GEM-dev
mailing list