<div dir="ltr">Thanks for the fix. It is pushed to the default branch. <div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,</div><div dir="ltr"><span></span><span></span>Kalyan Goswami, PhD</div><div dir="ltr"><span style="font-size:12.8px">Video Architect @ MulticoreWare</span></div><div dir="ltr"><div><a href="http://www.multicorewareinc.com/" target="_blank">http:</a><a href="http://www.multicorewareinc.com/" style="font-size:12.8px" target="_blank">//www.multicorewareinc.com</a></div><div><span style="font-size:12.8px">+91 9884989331</span><br></div><div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 15, 2018 at 6:46 AM Ma0 <<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"># HG changeset patch<br>
# User Ma0 <<a href="mailto:mateuszb@poczta.onet.pl" target="_blank">mateuszb@poczta.onet.pl</a>><br>
# Date 1544836394 -3600<br>
# Sat Dec 15 02:13:14 2018 +0100<br>
# Node ID c829b5b75a9f9937635be2f6f59dd6c4e6cf50ef<br>
# Parent 81373aab81dfe2e31a5ef353b1073d8bf1e22502<br>
silence GCC 8 warnings -Wclass-memaccess and -Wcast-function-type<br>
<br>
diff -r 81373aab81df -r c829b5b75a9f source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt Thu Dec 13 10:55:15 2018 +0530<br>
+++ b/source/CMakeLists.txt Sat Dec 15 02:13:14 2018 +0100<br>
@@ -200,6 +200,9 @@<br>
if(GCC)<br>
add_definitions(-Wall -Wextra -Wshadow)<br>
add_definitions(-D__STDC_LIMIT_MACROS=1)<br>
+ if(NOT INTEL_CXX AND NOT CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0)<br>
+ add_definitions(-Wno-class-memaccess)<br>
+ endif()<br>
if(ENABLE_HDR10_PLUS)<br>
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.8")<br>
message(FATAL_ERROR "gcc version above 4.8 required to support hdr10plus")<br>
diff -r 81373aab81df -r c829b5b75a9f source/encoder/api.cpp<br>
--- a/source/encoder/api.cpp Thu Dec 13 10:55:15 2018 +0530<br>
+++ b/source/encoder/api.cpp Sat Dec 15 02:13:14 2018 +0100<br>
@@ -694,6 +694,10 @@<br>
#define ext ".so"<br>
#endif<br>
<br>
+#if defined(__GNUC__) && __GNUC__ >= 8<br>
+#pragma GCC diagnostic ignored "-Wcast-function-type"<br>
+#endif<br>
+<br>
static int g_recursion /* = 0 */;<br>
<br>
const x265_api* x265_api_get(int bitDepth)<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>