On 29/03/06, Karsten Ohme <[EMAIL PROTECTED]> wrote:
> Hello,

Hi,

> MSCULong32 is defined as unsigned long. Maybe this can produce some
> problems. But long is 64 bit on 64 bit platforms. What problems can be
> expected?
>
> E.g. Solaris defines uint32_t to specify a concrete bit size. A windows
> long stays 32 buit. Linux shoudl have an uint32 type.
>
> What are the usual solutions for this?
>
> Are there similar problems for int?

I guess the best solution would be to use uint32_t as defined in
inttypes.h [1]. This header file shall include inttypes.h [2] but this
file does not exists on Solaris AFAIK.

I have no idea if these types also exists on Windows or if we should
expect other portability issues.

Bye,

[1] http://www.opengroup.org/onlinepubs/009695399/basedefs/inttypes.h.html
[2] http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html

--
  Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to