Closed
Description
clang 19.1.0 outputs the following warnings when including fast_float.h
:
<source>:862:35: warning: unused function 'str_const_nan<char>' [-Wunused-function]
862 | template <> constexpr char const *str_const_nan<char>() { return "nan"; }
| ^~~~~~~~~~~~~~~~~~~
<source>:863:38: warning: unused function 'str_const_nan<wchar_t>' [-Wunused-function]
863 | template <> constexpr wchar_t const *str_const_nan<wchar_t>() { return L"nan"; }
| ^~~~~~~~~~~~~~~~~~~~~~
<source>:864:39: warning: unused function 'str_const_nan<char16_t>' [-Wunused-function]
864 | template <> constexpr char16_t const *str_const_nan<char16_t>() {
| ^~~~~~~~~~~~~~~~~~~~~~~
<source>:867:39: warning: unused function 'str_const_nan<char32_t>' [-Wunused-function]
867 | template <> constexpr char32_t const *str_const_nan<char32_t>() {
| ^~~~~~~~~~~~~~~~~~~~~~~
<source>:873:35: warning: unused function 'str_const_inf<char>' [-Wunused-function]
873 | template <> constexpr char const *str_const_inf<char>() { return "infinity"; }
| ^~~~~~~~~~~~~~~~~~~
<source>:874:38: warning: unused function 'str_const_inf<wchar_t>' [-Wunused-function]
874 | template <> constexpr wchar_t const *str_const_inf<wchar_t>() {
| ^~~~~~~~~~~~~~~~~~~~~~
<source>:877:39: warning: unused function 'str_const_inf<char16_t>' [-Wunused-function]
877 | template <> constexpr char16_t const *str_const_inf<char16_t>() {
| ^~~~~~~~~~~~~~~~~~~~~~~
<source>:880:39: warning: unused function 'str_const_inf<char32_t>' [-Wunused-function]
880 | template <> constexpr char32_t const *str_const_inf<char32_t>() {
| ^~~~~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels