In f27289f we added a custom print wrapper for unbuffered output (for debugging).
This is now causing a lot of annoying format-string security warnings. Moreover, it should not really be necessary, as we can alternatively just call std::setbuf once right at the beginning of the main function to get unbufferred output to stdout (for both std::cout and printf).
This PR hence removes the print custom function and add an option to call setbuf. It also fixes some HPX deprecation warnings I stumbled over while doing this.
In f27289f we added a custom print wrapper for unbuffered output (for debugging).
This is now causing a lot of annoying format-string security warnings. Moreover, it should not really be necessary, as we can alternatively just call std::setbuf once right at the beginning of the main function to get unbufferred output to stdout (for both std::cout and printf).
This PR hence removes the print custom function and add an option to call setbuf. It also fixes some HPX deprecation warnings I stumbled over while doing this.