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

gcc6 compilation error #19

Closed
bartoszek opened this issue Sep 28, 2016 · 0 comments · Fixed by #20
Closed

gcc6 compilation error #19

bartoszek opened this issue Sep 28, 2016 · 0 comments · Fixed by #20

Comments

@bartoszek
Copy link

bartoszek commented Sep 28, 2016

When building against gcc 6.2.1 (@archlinux) got this error

/tmp/yaourt-tmp-bartus/aur-cmvs-pmvs-git/src/CMVS-PMVS/program/base/cmvs/../stann/dpoint.hpp:492:10: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::istream {aka std::basic_istream<char>}’)
       std::cerr << "Error Reading Point:"
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          << is << std::endl;
          ^~~~~

It looks like moving the operator inside the namespace may fix the issue (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26037#c6)

pmoulon added a commit that referenced this issue Nov 15, 2016
Fix gcc6 compile error. Fix #19
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

Successfully merging a pull request may close this issue.

1 participant