[FFmpeg-cvslog] r12620 - trunk/configure
Måns Rullgård
mans
Sat Mar 29 23:39:27 CET 2008
M?ns Rullg?rd <mans at mansr.com> writes:
> "?smail D?nmez" <ismail at namtrac.org> writes:
>
>> On Sun, Mar 30, 2008 at 12:00 AM, M?ns Rullg?rd <mans at mansr.com> wrote:
>>>
>>> "?smail D?nmez" <ismail at namtrac.org> writes:
>>>
>>> >> sizeof(char*) is 4 on 32bit so you are trying to do int test[-3] which
>>> >> should fail on all valid compilers.
>>> >
>>> > Ah so gcc wraps that to an unsigned number, I see. Would
>>> > (signed)(sizeof(char*) - 7) work for everyone?
>>>
>>> Make that (signed)sizeof(char*) - 7. It's still wrong on 64-bit
>>> systems with 32-bit pointers, though.
>>
>> What are those systems I wonder, any modern ones like that?
>
> Although not relevant here, SPARC and PPC64 are often run like that.
> I believe 64-bit Windows does this too.
Scratch that. 64-bit Windows has 64-bit pointers.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list