As a solution to "bug" 3181, integral overloads of many math functions (like sqrt) were introduced. Would it be possible to add a warning when such overloads are instantiated? I don't know how to do that with g++ (if it is not possible, then it would be a nice feature to add). It would help people write more portable code.
See also: http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-closed.html#213 -- Summary: no warning for the non-standard integral overloads of math functions Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27579