From 7c12118c19ed81753ca89877792e65015d14c53e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 12 Jan 2022 10:54:44 -0800 Subject: [PATCH] Deprecate buffered_file::fileno --- include/fmt/os.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fmt/os.h b/include/fmt/os.h index b64f8bbf..9793061a 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -265,6 +265,7 @@ class buffered_file { // We place parentheses around fileno to workaround a bug in some versions // of MinGW that define fileno as a macro. + // DEPRECATED! Rename to descriptor to avoid issues with macros. FMT_API int(fileno)() const; void vprint(string_view format_str, format_args args) {