You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@quickstep.apache.org by Song Zhao <sz...@wisc.edu> on 2017/11/27 07:04:09 UTC

problem with build quickstep

Hi Developers

I'm trying to build quickstep following the steps in README.MD but the 
build failed with some error like 'error: ‘current_literal’ may be used 
uninitialized in this function [-Werror=maybe-uninitialized]
            if (this->compareDataPtrsHelper<true>(va_value, 
&current_literal))'

I paste the output of cmake and make at the end of this mail, and I 
appreciate if anyone can give me some guide on how to fix this.


Thank you,

Song




This is the output of cmake:

cmake -D CMAKE_BUILD_TYPE=Release ..
Vector copy elision level set to: single-relation selection
-- Could NOT find LibNuma (missing: LIBNUMA_LIBRARY LIBNUMA_INCLUDE_DIR)
-- Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext.gregs[REG_EIP]
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext.gregs[REG_RIP]
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: uc_mcontext.sc_ip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext.uc_regs->gregs[PT_NIP]
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext.gregs[R15]
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: uc_mcontext.arm_pc
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: uc_mcontext.mc_eip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: uc_mcontext.mc_rip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext.__gregs[_REG_EIP]
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext.__gregs[_REG_RIP]
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext->ss.eip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext->__ss.__eip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext->ss.rip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext->__ss.__rip
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext->ss.srr0
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
-- Checking program counter fetch from ucontext_t member: 
uc_mcontext->__ss.__srr0
-- Performing Test PC_FROM_UCONTEXT_COMPILES
-- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
CMake Warning at third_party/src/glog/CMakeLists.txt:185 (message):
   Unable to find program counter field in ucontext_t.  GLOG signal handler
   will not be able to report precise PC position.


-- Could NOT find BISON (missing: BISON_EXECUTABLE)
CMake Warning at parser/CMakeLists.txt:36 (message):
   Unable to find bison.  A preprocessed copy of the parser sources will be
   used.


-- Could NOT find FLEX (missing: FLEX_EXECUTABLE)
CMake Warning at parser/CMakeLists.txt:51 (message):
   Unable to find flex.  A preprocessed copy of the lexer sources will be
   used.


You appear to be building on a Linux system with HugeTLB support. To 
take advantage of this feature, you will need to configure kernel 
support for hugepages by setting /proc/sys/vm/nr_hugepages and/or 
/proc/sys/vm/nr_overcommit_hugepages as well as running quickstep 
executables under the group id specified in 
/proc/sys/vm/hugetlb_shm_group (see Linux documentation on this feature 
for more details: 
https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt). You can 
also safely ignore this, and quickstep will fall back to using ordinary 
small pages for buffer pool memory.
Using threading implementation: cpp11
-- Configuring done
-- Generating done


Output of make -j4

In file included from 
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/GreaterComparison.cpp:28:0:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = false; RightCppType = double; bool right_nullable = 
false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
            if (this->compareDataPtrsHelper<true>(va_value, 
&current_literal)) {
            ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = false; RightCppType = double; bool right_nullable = 
true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = false; RightCppType = long int; bool right_nullable 
= false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
    LeftCppType current_literal;
                ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = false; RightCppType = long int; bool right_nullable 
= true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = false; RightCppType = float; bool right_nullable = 
false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
            if (this->compareDataPtrsHelper<true>(va_value, 
&current_literal)) {
            ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = false; RightCppType = float; bool right_nullable = true; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = false; RightCppType = int; bool right_nullable = false; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
    LeftCppType current_literal;
                ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = false; RightCppType = double; bool right_nullable = 
false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = false; RightCppType = int; bool right_nullable = true; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = false; RightCppType = double; bool right_nullable = 
true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = false; RightCppType = long int; bool right_nullable 
= false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
            if (this->compareDataPtrsHelper<true>(va_value, 
&current_literal)) {
            ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = false; RightCppType = long int; bool right_nullable 
= true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = true; RightCppType = int; bool right_nullable = false; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
    LeftCppType current_literal;
                ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = true; RightCppType = int; bool right_nullable = true; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = true; RightCppType = double; bool right_nullable = 
false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
            if (this->compareDataPtrsHelper<true>(va_value, 
&current_literal)) {
            ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = true; RightCppType = double; bool right_nullable = 
true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = true; RightCppType = long int; bool right_nullable 
= false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
    LeftCppType current_literal;
                ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
bool left_nullable = true; RightCppType = long int; bool right_nullable 
= true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = true; RightCppType = float; bool right_nullable = false; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
            if (this->compareDataPtrsHelper<true>(va_value, 
&current_literal)) {
            ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; bool 
left_nullable = true; RightCppType = float; bool right_nullable = true; 
quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = true; RightCppType = double; bool right_nullable = 
false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
    LeftCppType current_literal;
                ^
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = true; RightCppType = double; bool right_nullable = 
true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = true; RightCppType = long int; bool right_nullable 
= false; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
In member function ‘quickstep::TypedValue 
quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
left_nullable, RightCppType, 
right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
bool left_nullable = true; RightCppType = long int; bool right_nullable 
= true; quickstep::attribute_id = int]’:
/home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
error: ‘current_literal’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
At global scope:
cc1plus: error: unrecognized command line option 
‘-Wno-return-type-c-linkage’ [-Werror]
cc1plus: all warnings being treated as errors
types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/build.make:62: 
recipe for target 
'types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/GreaterComparison.cpp.o' 
failed
make[2]: *** 
[types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/GreaterComparison.cpp.o] 
Error 1
CMakeFiles/Makefile2:73202: recipe for target 
'types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/all' 
failed
make[1]: *** 
[types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/all] 
Error 2
make[1]: *** Waiting for unfinished jobs....


Re: problem with build quickstep

Posted by Harshad Deshmukh <ha...@cs.wisc.edu>.
Hi Song,

Which compiler are you using? You can check the CMakeCache.txt file and 
check the value for CMake_CXX_COMPILER or CMAKE_C_COMPILER. Please also 
let us know the version of the compiler.


On 11/27/2017 01:04 AM, Song Zhao wrote:
> Hi Developers
>
> I'm trying to build quickstep following the steps in README.MD but the 
> build failed with some error like 'error: ‘current_literal’ may be 
> used uninitialized in this function [-Werror=maybe-uninitialized]
>            if (this->compareDataPtrsHelper<true>(va_value, 
> &current_literal))'
>
> I paste the output of cmake and make at the end of this mail, and I 
> appreciate if anyone can give me some guide on how to fix this.
>
>
> Thank you,
>
> Song
>
>
>
>
> This is the output of cmake:
>
> cmake -D CMAKE_BUILD_TYPE=Release ..
> Vector copy elision level set to: single-relation selection
> -- Could NOT find LibNuma (missing: LIBNUMA_LIBRARY LIBNUMA_INCLUDE_DIR)
> -- Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
> -- git Version: v0.0.0
> -- Version: 0.0.0
> -- Performing Test HAVE_STD_REGEX
> -- Performing Test HAVE_STD_REGEX -- success
> -- Performing Test HAVE_GNU_POSIX_REGEX
> -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
> -- Performing Test HAVE_POSIX_REGEX
> -- Performing Test HAVE_POSIX_REGEX -- success
> -- Performing Test HAVE_STEADY_CLOCK
> -- Performing Test HAVE_STEADY_CLOCK -- success
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.gregs[REG_EIP]
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.gregs[REG_RIP]
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.sc_ip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.uc_regs->gregs[PT_NIP]
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.gregs[R15]
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.arm_pc
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.mc_eip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.mc_rip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.__gregs[_REG_EIP]
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext.__gregs[_REG_RIP]
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext->ss.eip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext->__ss.__eip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext->ss.rip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext->__ss.__rip
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext->ss.srr0
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> -- Checking program counter fetch from ucontext_t member: 
> uc_mcontext->__ss.__srr0
> -- Performing Test PC_FROM_UCONTEXT_COMPILES
> -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed
> CMake Warning at third_party/src/glog/CMakeLists.txt:185 (message):
>   Unable to find program counter field in ucontext_t.  GLOG signal 
> handler
>   will not be able to report precise PC position.
>
>
> -- Could NOT find BISON (missing: BISON_EXECUTABLE)
> CMake Warning at parser/CMakeLists.txt:36 (message):
>   Unable to find bison.  A preprocessed copy of the parser sources 
> will be
>   used.
>
>
> -- Could NOT find FLEX (missing: FLEX_EXECUTABLE)
> CMake Warning at parser/CMakeLists.txt:51 (message):
>   Unable to find flex.  A preprocessed copy of the lexer sources will be
>   used.
>
>
> You appear to be building on a Linux system with HugeTLB support. To 
> take advantage of this feature, you will need to configure kernel 
> support for hugepages by setting /proc/sys/vm/nr_hugepages and/or 
> /proc/sys/vm/nr_overcommit_hugepages as well as running quickstep 
> executables under the group id specified in 
> /proc/sys/vm/hugetlb_shm_group (see Linux documentation on this 
> feature for more details: 
> https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt). You can 
> also safely ignore this, and quickstep will fall back to using 
> ordinary small pages for buffer pool memory.
> Using threading implementation: cpp11
> -- Configuring done
> -- Generating done
>
>
> Output of make -j4
>
> In file included from 
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/GreaterComparison.cpp:28:0:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = false; RightCppType = double; bool right_nullable 
> = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>            if (this->compareDataPtrsHelper<true>(va_value, 
> &current_literal)) {
>            ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = false; RightCppType = double; bool right_nullable 
> = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = false; RightCppType = long int; bool 
> right_nullable = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    LeftCppType current_literal;
>                ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = false; RightCppType = long int; bool 
> right_nullable = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = false; RightCppType = float; bool right_nullable 
> = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>            if (this->compareDataPtrsHelper<true>(va_value, 
> &current_literal)) {
>            ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = false; RightCppType = float; bool right_nullable 
> = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = false; RightCppType = int; bool right_nullable = 
> false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    LeftCppType current_literal;
>                ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = false; RightCppType = double; bool right_nullable 
> = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = false; RightCppType = int; bool right_nullable = 
> true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = false; RightCppType = double; bool right_nullable 
> = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = false; RightCppType = long int; bool 
> right_nullable = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>            if (this->compareDataPtrsHelper<true>(va_value, 
> &current_literal)) {
>            ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = false; RightCppType = long int; bool 
> right_nullable = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = true; RightCppType = int; bool right_nullable = 
> false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    LeftCppType current_literal;
>                ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = true; RightCppType = int; bool right_nullable = 
> true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = true; RightCppType = double; bool right_nullable 
> = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>            if (this->compareDataPtrsHelper<true>(va_value, 
> &current_literal)) {
>            ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = true; RightCppType = double; bool right_nullable 
> = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = true; RightCppType = long int; bool 
> right_nullable = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    LeftCppType current_literal;
>                ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = double; 
> bool left_nullable = true; RightCppType = long int; bool 
> right_nullable = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = true; RightCppType = float; bool right_nullable = 
> false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>            if (this->compareDataPtrsHelper<true>(va_value, 
> &current_literal)) {
>            ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = float; 
> bool left_nullable = true; RightCppType = float; bool right_nullable = 
> true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:586:11: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = true; RightCppType = double; bool right_nullable 
> = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    LeftCppType current_literal;
>                ^
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = true; RightCppType = double; bool right_nullable 
> = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = true; RightCppType = long int; bool 
> right_nullable = false; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp: 
> In member function ‘quickstep::TypedValue 
> quickstep::LiteralUncheckedComparator<ComparisonFunctor, LeftCppType, 
> left_nullable, RightCppType, 
> right_nullable>::accumulateValueAccessor(const quickstep::TypedValue&, 
> quickstep::ValueAccessor*, quickstep::attribute_id) const [with 
> ComparisonFunctor = quickstep::GreaterFunctor; LeftCppType = long int; 
> bool left_nullable = true; RightCppType = long int; bool 
> right_nullable = true; quickstep::attribute_id = int]’:
> /home/song/Documents/code/quickstep-with-BW/types/operations/comparisons/LiteralComparators-inl.hpp:547:15: 
> error: ‘current_literal’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
> At global scope:
> cc1plus: error: unrecognized command line option 
> ‘-Wno-return-type-c-linkage’ [-Werror]
> cc1plus: all warnings being treated as errors
> types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/build.make:62: 
> recipe for target 
> 'types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/GreaterComparison.cpp.o' 
> failed
> make[2]: *** 
> [types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/GreaterComparison.cpp.o] 
> Error 1
> CMakeFiles/Makefile2:73202: recipe for target 
> 'types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/all' 
> failed
> make[1]: *** 
> [types/operations/comparisons/CMakeFiles/quickstep_types_operations_comparisons_GreaterComparison.dir/all] 
> Error 2
> make[1]: *** Waiting for unfinished jobs....
>

-- 
Thanks,
Harshad