Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build breakage with spack on OSX #10

Open
balay opened this issue Oct 12, 2018 · 0 comments
Open

Build breakage with spack on OSX #10

balay opened this issue Oct 12, 2018 · 0 comments

Comments

@balay
Copy link

balay commented Oct 12, 2018

/Users/balay/spack/lib/spack/env/clang/clang++    --std=c++11 -O2 -g -fno-omit-frame-pointer -ferror-limit=1 -Werror -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-float-equal -Wno-weak-template-vtables -O2 -g -DNDEBUG   -o CMakeFiles/gmodel.dir/gmodel.cpp.o -c /Users/balay/spack/var/spack/stage/gmodel-2.1.0-vybj2tmqaue4qh6wa6ige3ndsw5pb7pd/gmodel-2.1.0/gmodel.cpp
/Users/balay/spack/var/spack/stage/gmodel-2.1.0-vybj2tmqaue4qh6wa6ige3ndsw5pb7pd/gmodel-2.1.0/gmodel.cpp:33:21: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant]
    /* LOOP    = */ 0,
                    ^
                    nullptr
fatal error: too many errors emitted, stopping now [-ferror-limit=]

I think -Werror is useful for deveopers - but should not be required for users.

Does CMAKE take an option to override this?
gmodel-2.1.0-spack-build.out.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant