From ec19dfc2f29222b734bca65d5b2fa2b2d992e51b Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 18 Dec 2019 23:43:40 +0000 Subject: [PATCH] Fix Windows build __PRETTY_FUNCTION__ is not portable, alas. --- simgear/canvas/elements/CanvasImage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/canvas/elements/CanvasImage.cxx b/simgear/canvas/elements/CanvasImage.cxx index c13f25ab..3964653b 100644 --- a/simgear/canvas/elements/CanvasImage.cxx +++ b/simgear/canvas/elements/CanvasImage.cxx @@ -900,7 +900,7 @@ SGRect intersectRect(const SGRect& a, const SGRect& b) break; default: - SG_LOG(SG_IO, SG_WARN, __PRETTY_FUNCTION__ << ": unsupported internal image format:" << format); + SG_LOG(SG_IO, SG_WARN, "Image::fillRect: unsupported internal image format:" << format); return; }