librethinkdbxx icon indicating copy to clipboard operation
librethinkdbxx copied to clipboard

-pthread unused during compilation on branch osx

Open wingyplus opened this issue 9 years ago • 1 comments

I found on branch osx with commit 102323ed212b131ac8ec5d50a1d3535ed8a1e5c1

$ make
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -Wnone -o /dev/null -x c++ <(echo $' #include <locale.h>\nint main(){  char *c; locale_t l; strtod_l(c, &c, l); }') 2>/dev/null >/dev/null && echo '#define  USE_LOCALE_H' || \
      /Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -Wnone -o /dev/null -x c++ <(echo $' #include <xlocale.h>\n#include<stdlib.h>\nint main(){  char *c; locale_t l; strtod_l(c, &c, l); }') 2>/dev/null >/dev/null && echo '#define  USE_XLOCALE_H' \
      > build/gen/config.h
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/net.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/net.cc -MP -MQ build/obj/net.o -MD -MF build/dep/net.d
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/datum.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/datum.cc -MP -MQ build/obj/datum.o -MD -MF build/dep/datum.d
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/json.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/json.cc -MP -MQ build/obj/json.o -MD -MF build/dep/json.d
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/query.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/query.cc -MP -MQ build/obj/query.o -MD -MF build/dep/query.d
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/cursor.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/cursor.cc -MP -MQ build/obj/cursor.o -MD -MF build/dep/cursor.d
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/types.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/types.cc -MP -MQ build/obj/types.o -MD -MF build/dep/types.d
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/obj/utils.o  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -c src/utils.cc -MP -MQ build/obj/utils.o -MD -MF build/dep/utils.d
ar rcs build/librethinkdb++.a build/obj/net.o build/obj/datum.o build/obj/json.o build/obj/query.o build/obj/cursor.o build/obj/types.o build/obj/utils.o
/Users/wingyplus/clang+llvm-3.8.0-x86_64-apple-darwin/bin/clang++ -o build/librethinkdb++.so  -std=c++11 -I'build/gen' -Wall -pthread -fPIC -shared build/obj/net.o build/obj/datum.o build/obj/json.o build/obj/query.o build/obj/cursor.o build/obj/types.o build/obj/utils.o
clang-3.8: warning: argument unused during compilation: '-pthread'

wingyplus avatar Jun 21 '16 09:06 wingyplus

Thanks for reporting.

AtnNn avatar Jun 21 '16 19:06 AtnNn