[x265] (92ef2e02f653) Compiler Error at 42%

Steve Borho steve at borho.org
Tue Jun 3 16:52:48 CEST 2014


On Tue, Jun 3, 2014 at 5:31 AM, JMK <three4teen16 at coldmail.nu> wrote:
> [ 42%] Building CXX object common/CMakeFiles/common.dir/winxp.cpp.obj
> f:/GITS/X265/20140603/source/common/winxp.cpp:128:17: error: '{anonymous}::_avoid_linker_warnings' defined but not used [-Werror=unused-variable]
> namespace { int _avoid_linker_warnings = 0; }

sigh.. one compiler complains of the file being empty, the other
complains about the stub never being used.

>                  ^
> cc1plus.exe: all warnings being treated as errors

You don't have to build with WARNINGS_AS_ERRORS enabled.  That is
mainly for the benefit of our automated tests, and it defaults to
being off.

> make[2]: *** [common/CMakeFiles/common.dir/winxp.cpp.obj] Error 1
> make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
> make: *** [all] Error 2

-- 
Steve Borho


More information about the x265-devel mailing list