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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Apr 15 12:34:21 CEST 2016


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)


More information about the Vlmc-devel mailing list