bodand / cg3

Other
0 stars 0 forks source link

Warning on CI #8

Closed bodand closed 1 year ago

bodand commented 1 year ago

While compiling with GCC, the following warning occurs:

[15/50] Building CXX object checks/fio/CMakeFiles/cg3-check-fio.dir/src/fio/call_pos.cxx.o
/tmp/cirrus-ci-build/checks/fio/src/fio/call_pos.cxx:14:1: warning: 'std::ostream& cg3::operator<<(std::ostream&, const call_pos&)' has not been declared within 'cg3'
   14 | cg3::operator<<(std::ostream& os, const cg3::call_pos& pos) {
      | ^~~
In file included from /tmp/cirrus-ci-build/checks/fio/src/fio/call_pos.cxx:11:
/tmp/cirrus-ci-build/checks/fio/src/fio/call_pos.hxx:23:9: note: only here as a 'friend'
   23 |         operator<<(std::ostream& os, const call_pos&);
      |         ^~~~~~~~

This should be fixed.