You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I compile gatb-core with clang, several potential errors are reported. I think that they are real errors. See this log:
In file included from /Users/karel/github/metang/proc/main.cpp:1:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/gatb_core.hpp:40:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/collections/impl/Bloom.hpp:33:
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt.hpp:842:21: warning: & has lower
precedence than ==; == will be evaluated first [-Wparentheses]
if (val & 15 == 0) // val starts with AA
^~~~~~~~~
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt.hpp:842:21: note: place parentheses
around the '==' expression to silence this warning
if (val & 15 == 0) // val starts with AA
^
( )
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt.hpp:842:21: note: place parentheses
around the & expression to evaluate it first
if (val & 15 == 0) // val starts with AA
^
( )
In file included from /Users/karel/github/metang/proc/main.cpp:1:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/gatb_core.hpp:40:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/collections/impl/Bloom.hpp:33:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt.hpp:855:
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt1.pri:300:17: warning: & has lower
precedence than ==; == will be evaluated first [-Wparentheses]
if (val & 15 == 0) // val starts with AA
^~~~~~~~~
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt1.pri:300:17: note: place parentheses
around the '==' expression to silence this warning
if (val & 15 == 0) // val starts with AA
^
( )
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt1.pri:300:17: note: place parentheses
around the & expression to evaluate it first
if (val & 15 == 0) // val starts with AA
^
( )
In file included from /Users/karel/github/metang/proc/main.cpp:1:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/gatb_core.hpp:40:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/collections/impl/Bloom.hpp:33:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt.hpp:860:
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt2.pri:272:21: warning: & has lower
precedence than ==; == will be evaluated first [-Wparentheses]
if (val & 15 == 0) // val starts with AA
^~~~~~~~~
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt2.pri:272:21: note: place parentheses
around the '==' expression to silence this warning
if (val & 15 == 0) // val starts with AA
^
( )
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/tools/math/LargeInt2.pri:272:21: note: place parentheses
around the & expression to evaluate it first
if (val & 15 == 0) // val starts with AA
^
( )
In file included from /Users/karel/github/metang/proc/main.cpp:1:
In file included from /Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/gatb_core.hpp:78:
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/debruijn/impl/Graph.hpp:1183:30: warning: & has lower
precedence than ==; == will be evaluated first [-Wparentheses]
if ((value >> 1) & 1 == 1)
^~~~~~~~
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/debruijn/impl/Graph.hpp:1183:30: note: place parentheses
around the '==' expression to silence this warning
if ((value >> 1) & 1 == 1)
^
( )
/Users/karel/github/metang/proc/contrib/gatbcore-install/include/gatb/debruijn/impl/Graph.hpp:1183:30: note: place parentheses
around the & expression to evaluate it first
if ((value >> 1) & 1 == 1)
^
( )
4 warnings generated.
The text was updated successfully, but these errors were encountered:
since my Mac system (Yosemite ; clang-700.0.72) does not report these warnings, could you please let me know what is your configuration ? Just provide me with the output of "clang --version".
Hello,
when I compile gatb-core with clang, several potential errors are reported. I think that they are real errors. See this log:
The text was updated successfully, but these errors were encountered: