From 0219d5591bcc3dde6477d9d8cac8d00e60537284 Mon Sep 17 00:00:00 2001 From: vitaut Date: Tue, 17 Nov 2015 08:53:15 -0800 Subject: [PATCH] Improve compatibility with bcc32 --- format.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/format.h b/format.h index 9803308d..fc3d1f97 100644 --- a/format.h +++ b/format.h @@ -614,7 +614,10 @@ inline int getsign(double x) { int dec; explicit Ecvt(double val) : value(val), sign(0), dec(0) {} void handle(int) {} - void handle(Null<>) { ecvt(value, 0, &dec, &sign); } + void handle(fmt::internal::Null<>) { // Fully qualify to make bcc happy. + using namespace std; + ecvt(value, 0, &dec, &sign); + } } e(value); char buffer[2]; // The buffer size must be >= 2 or _ecvt_s will fail. using namespace fmt_system;