[ 80%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.obj
In file included from E:/MABS/build/x265-hg/source/encoder/encoder.cpp:27:
E:/MABS/build/x265-hg/source/encoder/encoder.cpp: In member function 'void x265::Encoder::destroy()': E:/MABS/build/x265-hg/source/common/common.h:222:37: warning: macro expands to multiple statements [-Wmultistatement-macros]
  222 | #define X265_FREE_ZERO(ptr)         x265_free(ptr); (ptr) = NULL
      |                                     ^~~~~~~~~
E:/MABS/build/x265-hg/source/encoder/encoder.cpp:882:12: note: in expansion of macro 'X265_FREE_ZERO'
  882 |            X265_FREE_ZERO(m_edgePic);
      |            ^~~~~~~~~~~~~~
E:/MABS/build/x265-hg/source/encoder/encoder.cpp:881:9: note: some parts of macro expansion are not guarded by this 'if' clause
  881 |         if(m_edgePic != NULL)
      |         ^~

--

Fun and success!

Mario *LigH* Rohkrämer
maito:cont...@ligh.de
_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to