#16 fix double warnings in MacOS environment, to be tested in other distributions.
Fixes the double warning in a MacOS environment and also removes the need for print_all
case but has to be tested in other distributions to make sure that both standard and error outputs remain valid.
Closes #16 (closed) and #9 (closed).
Edited by GILLES Sebastien