Radix-Hash-Join icon indicating copy to clipboard operation
Radix-Hash-Join copied to clipboard

Compilation failure

Open divija95 opened this issue 4 years ago • 1 comments

Command: ./compile.sh Cleanup complete! g++ -O3 -g -c src/harness.cpp -o harness.o gcc -O3 -g -I ./include -Wl,--no-as-needed,-lprofiler,--as-needed -c src/Parser.c -o Parser.o -Wl,--no-as-needed,-lprofiler,--as-needed gcc -O3 -g -I ./include -Wl,--no-as-needed,-lprofiler,--as-needed -c src/Optimizer.c -o Optimizer.o -Wl,--no-as-needed,-lprofiler,--as-needed gcc -O3 -g -I ./include -Wl,--no-as-needed,-lprofiler,--as-needed -c src/Relation.c -o Relation.o -Wl,--no-as-needed,-lprofiler,--as-needed In file included from /usr/include/c++/5/thread:35:0, from src/harness.cpp:6: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support
^ src/harness.cpp:179:26: error: invalid suffix "s" on integer constant this_thread::sleep_for(1s); ^ gcc -O3 -g -I ./include -Wl,--no-as-needed,-lprofiler,--as-needed -c src/Joiner.c -o Joiner.o -Wl,--no-as-needed,-lprofiler,--as-needed src/harness.cpp: In function ‘int main(int, char**)’: src/harness.cpp:105:22: error: ‘class std::vector<std::__cxx11::basic_string >’ has no member named ‘emplace_back’ result_chunk.emplace_back(move(result)); ^ src/harness.cpp:105:46: error: ‘move’ was not declared in this scope result_chunk.emplace_back(move(result)); ^ src/harness.cpp:179:3: error: ‘this_thread’ has not been declared this_thread::sleep_for(1s);

divija95 avatar Oct 19 '20 00:10 divija95

Still seeing this error after adding -std=c++11 arg src/harness.cpp:179:26: error: invalid suffix "s" on integer constant this_thread::sleep_for(1s); ^

divija95 avatar Oct 19 '20 00:10 divija95