[vlc-devel] [PATCH 1/2] VC compatibility improved a little
Sergey Radionov
rsatom at gmail.com
Fri Sep 21 03:00:42 CEST 2012
2012/9/21 Sergey Radionov <rsatom at gmail.com>:
> 2012/9/21 Sergey Radionov <rsatom at gmail.com>:
>> 2012/9/21 Rémi Denis-Courmont <remi at remlab.net>:
>>> Le mercredi 19 septembre 2012 23:04:53, Rémi Denis-Courmont a écrit :
>>>> Le mercredi 19 septembre 2012 11:13:30, Sergey Radionov a écrit :
>>>> > 2012/9/19 Rémi Denis-Courmont <remi at remlab.net>:
>>>> > > LLU is a valid integer-suffix according to C99 § 6.4.4.1.
>>>> >
>>>> > why are you talking about C99 if this part for C++?
>>>>
>>>> I honestly do not know if C++ allows LLU but the patch comments do not
>>>> mention C++ (and the patch does not look specific to C++ either).
>>>
>>> C++ has the exact same grammar as C in that respect.
>>> LLU is a perfectly valid suffix for unsigned long long.
>> for Visual C++ it's not true:
>> http://msdn.microsoft.com/en-us/library/00a1awxf.aspx
>>
>> nteger-suffix:
>> unsigned-suffix long-suffixopt
>> long-suffix unsigned-suffixopt
> hmm... it should work... then why it not work?
I think I am uderstand why:
64-bit integer-suffix:
i64 LL ll
so, they officially not support unsigned int 64 literals at all...
but anyway, ULL compiled fine.
>
>>
>>>
>>> --
>>> Rémi Denis-Courmont
>>> http://www.remlab.net/
>>> _______________________________________________
>>> vlc-devel mailing list
>>> To unsubscribe or modify your subscription options:
>>> http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list