-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
Trying to build with julia 0.5 I got the following error:
jared@k475:~/.julia/v0.5/Clang/deps$ julia5 ./build.jl
g++ wrapclang.cpp -fPIC -c -o wrapclang.cpp.o -I/home/jared/build/clang_3.7/include -g -I/home/jared/build/clang_3.7/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fPIC
g++: error: unrecognized command line option ‘-Wcovered-switch-default’
make: *** [wrapclang.cpp.o] Error 1
ERROR: LoadError: clang headers could not be found and BUILD_LLVM_CLANG=1 not specified in Make.user
Try setting BUILD_LLVM_CLANG=1 in Make.user in /mnt/external/build/julia_0.5/usr/bin and try again.
in error(::String) at ./error.jl:21
in include_from_node1(::String) at ./loading.jl:488
in process_options(::Base.JLOptions) at ./client.jl:262
in _start() at ./client.jl:318
while loading /home/jared/.julia/v0.5/Clang/deps/build.jl, in expression starting on line 59I am using g++ 4.8.4
Metadata
Metadata
Assignees
Labels
No labels