
On Wed, Oct 15, 2008 at 11:11 AM, Michael Marcin <mike.marcin@gmail.com>wrote:
Beman Dawes wrote:
On Wed, Oct 15, 2008 at 4:13 AM, Peter Bindels <dascandy@gmail.com> wrote:
Given that the logging is optional (and probably pointless on an
embedded system) #ifdeffing out the iostream header seems right.
What macro?
It seems to me there are really two cases:
* Logging is desired. Perhaps BOOST_ALL_LOG and BOOST_libname_LOG (where libname is FILESYSTEM or whatever.
Being as how there are several proposed boost logging libraries I don't think this name is appropriate. BOOST_DISABLE_IOSTREAM or something similar would be more appropriate, wouldn't it?
That was the second case, which you didn't quote. But BOOST_DISABLE_IOSTREAM only deals with the case where <iostream> is present by default. There needs to be a way to enable logging or other <iostream> related activities that are off by default. --Beman