#1378: provide equivalent of fprintf(stderr, "%s\n", msg) in Fortran --------------------------+------------------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
I think OSX uses \n as well. Only the older MacOS used \r.
Concerning the prefix: For a multi-line warning I would actually rather avoid the duplicate prefix, and just use a "\n" (in whatever form this works) as first character to get an output of the form {{{ WARNING[L1,P0] (GRHydro): 0 0 }}} GRHydro might be fine with the other option, but especially for thorns with longer names it would reduce the available space per line quite a bit.