Skip to content

Instantly share code, notes, and snippets.

@washu
Created November 3, 2014 19:33
Show Gist options
  • Save washu/f8e0278f77230c7ef447 to your computer and use it in GitHub Desktop.
Save washu/f8e0278f77230c7ef447 to your computer and use it in GitHub Desktop.
rvm build error on centos 6.5 with llvm 3.4
cc1plus: warnings being treated as errors
vm/builtin/system.cpp: In static member function ‘static rubinius::Object* rubinius::System::vm_spawn(rubinius::State*, rubinius::GCTokenImpl&, rubinius::Object*, rubinius::String*, rubinius::Array*, rubi
nius::CallFrame*)’:
vm/builtin/system.cpp:387: error: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result
vm/builtin/system.cpp: In static member function ‘static rubinius::Object* rubinius::System::vm_backtick(rubinius::State*, rubinius::GCTokenImpl&, rubinius::String*, rubinius::CallFrame*)’:
vm/builtin/system.cpp:510: error: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result
At global scope:
cc1plus: error: unrecognized command line option "-Wno-unused-result"
cc1plus: error: unrecognized command line option "-Wno-unused-result"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment