From f2ca6ed4d1613925a898d18ea29f80195180d49d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timmy=20Sj=C3=B6stedt?= Date: Tue, 24 May 2016 17:38:41 +0200 Subject: [PATCH] Make RW_ERROR print to stderr --- rwlib/source/rw/defines.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rwlib/source/rw/defines.hpp b/rwlib/source/rw/defines.hpp index 56d73419..ce55c01b 100644 --- a/rwlib/source/rw/defines.hpp +++ b/rwlib/source/rw/defines.hpp @@ -6,7 +6,7 @@ #define RW_MESSAGE(msg) \ std::cout << __FILE__ << ":"<< __LINE__ << ": " << msg << std::endl #define RW_ERROR(msg) \ - std::cout << __FILE__ << ":"<< __LINE__ << ": " << msg << std::endl + std::cerr << __FILE__ << ":"<< __LINE__ << ": " << msg << std::endl #define RW_CHECK(cond, msg) \ if(!(cond)) RW_ERROR(msg) #else