[x265] [PATCH] Update json11 to v1.0.0 release

Aruna Matheswaran aruna at multicorewareinc.com
Thu Jul 25 06:48:10 CEST 2019


On Wed, Jul 24, 2019 at 9:59 PM Nomis101 🐝 <Nomis101 at web.de> wrote:

> Hi Aruna,
>
> could you specifiy what kind of errors and warnings you see on Windows? I
> don't have Windows, so I can not test or reproduce.


Please find the attached error log.

>
>
>
>
> Am 24.07.19 um 16:11 schrieb Aruna Matheswaran:
> > The patch applies on default and builds successfully in Mac and Linux,
> but gives build warnings and errors in windows. Could you please fix them
> and resend the patch?
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>


-- 
Regards,
Aruna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190725/9e3b759d/attachment-0001.html>
-------------- next part --------------
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(110): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(110): error C2227: left of '->first' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(111): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(111): error C2227: left of '->second' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\type_traits(620): error C2139: 'json11::Json' : an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_constructible' (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11\json11.h(79) : see declaration of 'json11::Json'
3>          c:\x265_clone\source\dynamichdr10\json11\json11.h(111) : see reference to class template instantiation 'std::is_constructible<json11::Json,int>' being compiled
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(112): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(117): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(118): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>c:\x265_clone\source\dynamichdr10\json11\json11.h(119): error C2535: 'json11::Json::Json(const M &)' : member function already defined or declared (C:\x265_clone\source\dynamicHDR10\json11\json11.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11\json11.h(113) : see declaration of 'json11::Json::Json'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<NUMBER,double>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(173) : see reference to class template instantiation 'json11::Value<NUMBER,double>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(180): warning C4512: 'json11::JsonDouble' : assignment operator could not be generated
4>  motion.cpp
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(173) : see declaration of 'json11::JsonDouble'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<NUMBER,int>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(182) : see reference to class template instantiation 'json11::Value<NUMBER,int>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(189): warning C4512: 'json11::JsonInt' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(182) : see declaration of 'json11::JsonInt'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<BOOL,bool>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(191) : see reference to class template instantiation 'json11::Value<BOOL,bool>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(195): warning C4512: 'json11::JsonBoolean' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(191) : see declaration of 'json11::JsonBoolean'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<STRING,std::string>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(197) : see reference to class template instantiation 'json11::Value<STRING,std::string>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(202): warning C4512: 'json11::JsonString' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(197) : see declaration of 'json11::JsonString'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<ARRAY,json11::Json::array>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(204) : see reference to class template instantiation 'json11::Value<ARRAY,json11::Json::array>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(210): warning C4512: 'json11::JsonArray' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(204) : see declaration of 'json11::JsonArray'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<OBJECT,json11::Json::object>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(212) : see reference to class template instantiation 'json11::Value<OBJECT,json11::Json::object>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(218): warning C4512: 'json11::JsonObject' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(212) : see declaration of 'json11::JsonObject'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(171): warning C4512: 'json11::Value<NUL,json11::NullStruct>' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(220) : see reference to class template instantiation 'json11::Value<NUL,json11::NullStruct>' being compiled
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(223): warning C4512: 'json11::JsonNull' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(220) : see declaration of 'json11::JsonNull'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(236): warning C4512: 'json11::Statics' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(228) : see declaration of 'json11::Statics'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(729): warning C4510: 'json11::`anonymous-namespace'::JsonParser' : default constructor could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(347) : see declaration of 'json11::`anonymous-namespace'::JsonParser'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(729): warning C4512: 'json11::`anonymous-namespace'::JsonParser' : assignment operator could not be generated
3>          C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(347) : see declaration of 'json11::`anonymous-namespace'::JsonParser'
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(729): warning C4610: struct 'json11::`anonymous-namespace'::JsonParser' can never be instantiated - user defined constructor required
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(483): warning C4127: conditional expression is constant
3>  JsonHelper.cpp
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(676): warning C4127: conditional expression is constant
3>C:\x265_clone\source\dynamicHDR10\json11\json11.cpp(709): warning C4127: conditional expression is constant
3>  metadataFromJson.cpp
3>  SeiMetadataDictionary.cpp
3>  api.cpp
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(110): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(110): error C2227: left of '->first' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(111): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
2>  dct.cpp
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(111): error C2227: left of '->second' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\type_traits(620): error C2139: 'json11::Json' : an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_constructible' (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(79) : see declaration of 'json11::Json'
2>  lowpassdct.cpp
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(111) : see reference to class template instantiation 'std::is_constructible<json11::Json,int>' being compiled
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(112): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(117): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(118): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(119): error C2535: 'json11::Json::Json(const M &)' : member function already defined or declared (C:\x265_clone\source\dynamicHDR10\JsonHelper.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(113) : see declaration of 'json11::Json::Json'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(110): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(110): error C2227: left of '->first' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(111): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(111): error C2227: left of '->second' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\type_traits(620): error C2139: 'json11::Json' : an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_constructible' (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(79) : see declaration of 'json11::Json'
2>  ipfilter.cpp
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(111) : see reference to class template instantiation 'std::is_constructible<json11::Json,int>' being compiled
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(112): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
4>  slicetype.cpp
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(117): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(118): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(119): error C2535: 'json11::Json::Json(const M &)' : member function already defined or declared (C:\x265_clone\source\dynamicHDR10\metadataFromJson.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(113) : see declaration of 'json11::Json::Json'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(110): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(110): error C2227: left of '->first' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(111): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(111): error C2227: left of '->second' must point to class/struct/union/generic type (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\type_traits(620): error C2139: 'json11::Json' : an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_constructible' (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(79) : see declaration of 'json11::Json'
3>          c:\x265_clone\source\dynamichdr10\json11/json11.h(111) : see reference to class template instantiation 'std::is_constructible<json11::Json,int>' being compiled
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(112): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(117): error C2228: left of '.begin' must have class/struct/union (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>          type is 'add_rvalue_reference<_Ty>::type'
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(118): error C2039: 'type' : is not a member of 'std::enable_if<false,int>' (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\x265_clone\source\dynamicHDR10\api.cpp)
3>c:\x265_clone\source\dynamichdr10\json11/json11.h(119): error C2535: 'json11::Json::Json(const M &)' : member function already defined or declared (C:\x265_clone\source\dynamicHDR10\api.cpp)


More information about the x265-devel mailing list