Ar an cúigiú lá déag de mí Iúil, scríobh Vin Shelton:
> It is something that needs to be fixed, I get the same problem
with
> Visual Studio 2005 Express edition, which was the free Microsoft C++
> compiler available for download when I got this machine, in September
> last year.
>
> I don’t think that change is general enough, I think we need code like
> this:
http://short.ie/7n8680
Can you please elaborate? I don't understand what's more general about:
#elif (defined(__VISUALC__) && defined(__WIN32__)) || defined( __VMS__ )
#define wxLongLong_t __int64
#define wxLongLongSuffix i64
#define wxLongLongFmtSpec _T("I64")
than
#elif SIZEOF_LONG_LONG == 0
#define INT_64_BIT __int64
#define UINT_64_BIT unsigned __int64
Is it just that you want to test a different condition than
SIZEOF_LONG_LONG == 0?
No--well, yes, that too, but the wxPython code checks for Borland compilers
too, and defines a constant to allow platform-specific construction of these
constants. That would be helpful to support.
Jerry wrote:
> I guess that 'long' is a 32-bit quantity in this environment?
> Does the system malloc take a long, or something else?
malloc takes a size_t. Here are the sizes of the respective types:
sizeof(int) = 4
sizeof(long) = 4
sizeof(size_t) = 4
- Vin
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghe, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches