https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117210
Bug ID: 117210 Summary: [15.0 regression] error: 'llabs' is not a member of 'std'; did you mean 'labs' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: vedran at miletic dot net Target Milestone: --- The following program: #include <cstdlib> int main () { long long a = 5; std::llabs(a); return 0; } fails to compile with GCC 15: % g++15 --version g++15 (FreeBSD Ports Collection) 15.0.0 20241013 (experimental) Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The error is: % g++15 prog.cc foo.cc: In function 'int main()': foo.cc:6:14: error: 'llabs' is not a member of 'std'; did you mean 'labs'? 6 | std::llabs(a); | ^~~~~ | labs GCC 13 and 14 compile the program fine.