[vlmc-devel] [PATCH 3/5] ISourceRenderer: Include stddef.h

yikei lu luyikei.qmltu at gmail.com
Fri Apr 15 12:52:37 CEST 2016


Actually ISourceRenderer.h doesn't include any Qt files

2016-04-15 19:34 GMT+09:00 Hugo Beauzée-Luyssen <hugo at beauzee.fr>:
> On 04/14/2016 10:10 AM, Yikai Lu wrote:
>>
>> size_t is defined there
>> ---
>>   src/Backend/ISourceRenderer.h | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/src/Backend/ISourceRenderer.h b/src/Backend/ISourceRenderer.h
>> index f5a1ee2..0115929 100644
>> --- a/src/Backend/ISourceRenderer.h
>> +++ b/src/Backend/ISourceRenderer.h
>> @@ -24,6 +24,7 @@
>>   #define IRENDERER_H
>>
>>   #include <stdint.h>
>> +#include <stddef.h>
>>
>>   namespace Backend
>>   {
>>
> Shouldn't this be merged with the previous commit? I assume that size_t
> defined indirectly through a Qt include.
>
> Also, please use <cstddef> in C++ code (feel free to send another patch to
> fix the stdint.h include above)
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel


More information about the Vlmc-devel mailing list