From 24e860812dbec354d66d72b9dc643e58fa3ba5dc Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Sat, 28 Sep 2013 23:56:06 +0000 Subject: [PATCH] doc for mingw cross-compile (gmsh + dg with msmpi, petsc, python, proj, netcdf{,c++}, gotm) --- wrappers/gmshpy/gmshCommon.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/gmshpy/gmshCommon.i b/wrappers/gmshpy/gmshCommon.i index b000422999..47f02845dc 100644 --- a/wrappers/gmshpy/gmshCommon.i +++ b/wrappers/gmshpy/gmshCommon.i @@ -22,7 +22,7 @@ // don't output anything special if we're running in a gui if(FlGui::available()) return; #endif - std::cout<<level<<" : "<<message<<std::endl; + (level == "Info" ? std::cout : std::cerr) <<level<<" : "<<message<<std::endl; if (level == "Fatal") Msg::Exit(1); } -- GitLab