https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111516
Bug ID: 111516 Summary: parameter passing note is not actionable Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gonzalo.gadeschi at gmail dot com Target Milestone: --- I'm getting the following note (no reproducer yet), which as far as I can tell, does not really tell me anything actionable and does not mention how to silence it: ``` /usr/include/c++/12/bits/stl_pair.h:741: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 741 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ ``` This note should at least be silenceable. It would be nice if the note message were to say something actionable, e.g., explain why this is a problem and what to do about it. My interpretation of the note is that it is suggesting the developer to stop using C++17 and to use C++14 instead. If this is not the intent, then it would be great if the note could be clarified.