This is an automated email from the ASF dual-hosted git repository.
laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new fd5a4350c chore(CI): include cmath to fix ambiguous std::abs on
ubuntu1604 (#1395)
fd5a4350c is described below
commit fd5a4350c410998af5b609072c358606afe7c38f
Author: padmejin <[email protected]>
AuthorDate: Wed Mar 15 22:41:07 2023 +0800
chore(CI): include cmath to fix ambiguous std::abs on ubuntu1604 (#1395)
https://github.com/apache/incubator-pegasus/issues/1394
Add missing include header `<cmath>` in `src/utils/output_utils.h` to
resolve compile
error on Ubuntu 16.04
---
src/utils/output_utils.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/utils/output_utils.h b/src/utils/output_utils.h
index 516dae17c..c66d55f73 100644
--- a/src/utils/output_utils.h
+++ b/src/utils/output_utils.h
@@ -20,6 +20,7 @@
// IWYU pragma: no_include <bits/std_abs.h>
#include <rapidjson/ostreamwrapper.h>
#include <stdlib.h>
+#include <cmath> // IWYU pragma: keep
#include <iomanip>
// IWYU pragma: no_include <new>
#include <sstream> // IWYU pragma: keep
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]