fmt/include/fmt
Greg Sjaardema 76e97dc4df
Eliminate shadowed variable warnings on intel (#1816)
The intel-19 compiler warns about hidden variables:
```
/s/dev/nightly/libraries/ioss/src/fmt/format.h(2689): warning #1599: declaration hides variable "begin" (declared at line 2668)
      FMT_CONSTEXPR void operator()(const Char* begin, const Char* end) {
                                                ^
          detected during:
            instantiation of "Context::iterator fmt::v7::vformat_to<ArgFormatter,Char,Context>(ArgFormatter::iterator, fmt::v7::basic_string_view<Char>, fmt::v7::basic_format_args<Context>, fmt::v7::detail::locale_ref) [with ArgFormatter=fmt::v7::detail::arg_formatter<fmt::v7::detail::buffer_appender<char>, char>, Char=char, Context=fmt::v7::format_context]" at line 3492
            instantiation of "fmt::v7::detail::buffer_appender<Char> fmt::v7::detail::vformat_to(fmt::v7::detail::buffer<Char> &, fmt::v7::basic_string_view<Char>, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity_t<Char>>, fmt::v7::type_identity_t<Char>>>) [with Char=char]" at line 1413 of "/s/dev/nightly/libraries/ioss/src/fmt/format-inl.h"

/s/dev/nightly/libraries/ioss/src/fmt/format.h(2689): warning #1599: declaration hides variable "end" (declared at line 2669)
      FMT_CONSTEXPR void operator()(const Char* begin, const Char* end) {
                                                                   ^
          detected during:
            instantiation of "Context::iterator fmt::v7::vformat_to<ArgFormatter,Char,Context>(ArgFormatter::iterator, fmt::v7::basic_string_view<Char>, fmt::v7::basic_format_args<Context>, fmt::v7::detail::locale_ref) [with ArgFormatter=fmt::v7::detail::arg_formatter<fmt::v7::detail::buffer_appender<char>, char>, Char=char, Context=fmt::v7::format_context]" at line 3492
            instantiation of "fmt::v7::detail::buffer_appender<Char> fmt::v7::detail::vformat_to(fmt::v7::detail::buffer<Char> &, fmt::v7::basic_string_view<Char>, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity_t<Char>>, fmt::v7::type_identity_t<Char>>>) [with Char=char]" at line 1413 of "/s/dev/nightly/libraries/ioss/src/fmt/format-inl.h"
```
Rename the second set of variables to `pbegin` and `pend` to eliminate warning.
2020-08-13 18:58:31 -07:00
..
chrono.h Reuse format_decimal 2020-06-14 07:42:52 -07:00
color.h Improve docs 2020-07-20 07:56:20 -07:00
compile.h fix: warning C4100: unreferenced formal parameter (#1814) 2020-08-12 06:57:22 -07:00
core.h Add dynamic width support to FMT_COMPILE (#1809) 2020-08-10 09:40:11 -07:00
format-inl.h Workaround a bug in gcc10 (#1810) 2020-08-10 07:20:34 -07:00
format.h Eliminate shadowed variable warnings on intel (#1816) 2020-08-13 18:58:31 -07:00
locale.h Move make_args_checked to the public API 2020-07-19 10:23:46 -07:00
os.h Tweak buffer size 2020-08-05 08:22:12 -07:00
ostream.h Move make_args_checked to the public API 2020-07-19 10:23:46 -07:00
posix.h Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
printf.h Double buffering no more 2020-07-10 20:35:14 -07:00
ranges.h Adding sentinel support to fmt::join(). (#1689) 2020-05-18 06:31:01 -07:00