Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
12.0(EOL)
-
None
-
None
Description
At the tip of main, git sha 4b79d7b8ee557d53a859aedec839b8673585b514, building with g++ version 11.5.0 on arm64 linux causes the following note (not a warning nor an error) to appear:
/usr/include/c++/11/bits/stl_pair.h: In instantiation of 'constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double&; typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type = double; typename std::decay<_Tp2>::type = double; typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type = double; typename std::decay<_Tp>::type = double]':
|
/Users/dgosselin/2-server/sql/spatial.cc:1061:36: required from here
|
/usr/include/c++/11/bits/stl_pair.h:567:5: note: parameter passing for argument of type 'std::pair<double, double>' when C++17 is enabled changed to match C++14 in GCC 10.1
|
567 | make_pair(_T1&& __x, _T2&& __y)
|
| ^~~~~~~~~
|
This appears to be due to:
https://stackoverflow.com/questions/77729813/parameter-passing-for-argument-when-c17-is-enabled-changed-to-match-c14