{"action":"opened","issue":{"url":"https://api.github.com/repos/scipr-lab/libff/issues/17","repository_url":"https://api.github.com/repos/scipr-lab/libff","labels_url":"https://api.github.com/repos/scipr-lab/libff/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/scipr-lab/libff/issues/17/comments","events_url":"https://api.github.com/repos/scipr-lab/libff/issues/17/events","html_url":"https://github.com/scipr-lab/libff/issues/17","id":301957795,"number":17,"title":"OS X build error: invalid operands to binary expression","user":{"login":"ForTozs","id":7400462,"avatar_url":"https://avatars0.githubusercontent.com/u/7400462?v=4","gravatar_id":"","url":"https://api.github.com/users/ForTozs","html_url":"https://github.com/ForTozs","followers_url":"https://api.github.com/users/ForTozs/followers","following_url":"https://api.github.com/users/ForTozs/following{/other_user}","gists_url":"https://api.github.com/users/ForTozs/gists{/gist_id}","starred_url":"https://api.github.com/users/ForTozs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForTozs/subscriptions","organizations_url":"https://api.github.com/users/ForTozs/orgs","repos_url":"https://api.github.com/users/ForTozs/repos","events_url":"https://api.github.com/users/ForTozs/events{/privacy}","received_events_url":"https://api.github.com/users/ForTozs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-03T02:03:00Z","updated_at":"2018-03-03T02:03:00Z","closed_at":null,"author_association":"NONE","body":"I am having trouble compiling with clang on MacOS High Sierra. I get multiple errors about binary operands. For example:\r\n\r\n```\r\ninfo:build /opt/local/var/macports/build/_Users_fortozs_ports_devel_libff/libff/work/libff-master/libff/algebra/curves/alt_bn128/alt_bn128_pairing.cpp:49:9: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const alt_bn128_Fq2' (aka 'const Fp2_model<alt_bn128_q_limbs, alt_bn128_modulus_q>'))\r\n:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1086:1: note: candidate function [with _CharT = char, _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'const alt_bn128_Fq2' (aka 'const Fp2_model<alt_bn128_q_limbs, alt_bn128_modulus_q>') to 'const std::__1::error_code' for 2nd argument\r\n:info:build operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)\r\n:info:build /opt/local/var/macports/build/_Users_fortozs_ports_devel_libff/libff/work/libff-master/libff/algebra/curves/alt_bn128/alt_bn128_pairing.cpp:55:8: error: invalid operands to binary expression ('std::istream' (aka 'basic_istream<char>') and 'alt_bn128_Fq2' (aka 'Fp2_model<alt_bn128_q_limbs, alt_bn128_modulus_q>'))\r\n```\r\n\r\nRight now I am compiling with -DWITH_PROCPS=OFF and -DIS_LIBFF_PARENT=OFF (I have preinstalled ate-pairing and xbyak detected successfully in the configure phase). I also had to append -std=c++11 to my cxxflags. Any ideas on what these errors are about?"}}
{"actor":{"display_login":"ForTozs"}}