padmejin opened a new issue, #1394:
URL: https://github.com/apache/incubator-pegasus/issues/1394
## Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
If possible, provide a recipe for reproducing the error.
Run `Build Cpp` on ubuntu1604(docker).
2. What did you expect to see?
Build succeed.
4. What did you see instead?
Build failed with the following error.
```
In file included from
/root/incubator-pegasus/src/utils/output_utils.cpp:18:0:
/root/incubator-pegasus/src/utils/output_utils.h: In member function
'std::__cxx11::string dsn::utils::table_printer::to_string(T) [with T = double;
std::__cxx11::string = std::__cxx11::basic_string<char>]':
/root/incubator-pegasus/src/utils/output_utils.h:180:22: error: call of
overloaded 'abs(double&)' is ambiguous
if (std::abs(data) < 1e-6) {
^
In file included from /usr/include/c++/5/cstdlib:72:0,
from
/root/incubator-pegasus/thirdparty/output/include/rapidjson/rapidjson.h:39,
from
/root/incubator-pegasus/thirdparty/output/include/rapidjson/stream.h:15,
from
/root/incubator-pegasus/thirdparty/output/include/rapidjson/ostreamwrapper.h:18,
from /root/incubator-pegasus/src/utils/output_utils.h:20,
from /root/incubator-pegasus/src/utils/output_utils.cpp:18:
```
6. What version of Pegasus are you using?
master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]