Re: compiler Flags for Code Porting
Re: compiler Flags for Code Porting
- Subject: Re: compiler Flags for Code Porting
- From: koko <email@hidden>
- Date: Sat, 04 Jun 2011 12:31:57 -0600
Yeah, I agree. Time for more in-depth porting.
-koko
On Jun 4, 2011, at 11:55 AM, Greg Guerin wrote:
> koko wrote:
>
>> I went ahead and did:
>>
>> if ((__uint32_t)m_handle != INVALID_HANDLE_VALUE)
>>
>> which sees OK. Any comments?
>
>
> I don't think it's 64-bit compatible. If the code is ever compiled as 64-bit, it may not do the right thing.
>
> You may not care about 64-bitness now, but neglecting compatibility is kinda why the current code has a problem, so you're just replacing one kind of compatibility problem with a different one.
>
> -- GG
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden