x265 is slow when it is build with GCC 5.1

Issue #143 resolved
Former user created an issue

In source file source/common/vec/vec-primitives.cpp there are two bugs that makes GCC 5.1 builds very slow:

line # 35 there is:

#if __clang__ || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 3)

should be:

#if __clang__ || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4

line # 40 there is:

#if __clang__ || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 7)

should be:

#if __clang__ || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) || __GNUC__ > 4

Comments (3)

  1. M CHEN

    #define GCC_VERSION (GNUC * 10000 \ + GNUC_MINOR * 100 \ + GNUC_PATCHLEVEL)

    use macro like this, we can easy to check version

  2. Log in to comment