Boost logo

Boost :

From: John Torjo (john.groups_at_[hidden])
Date: 2007-10-30 10:06:51


Thanks!
> Hi John,
>
> On Tue, Oct 30, 2007 at 01:02:26PM +0200, John Torjo wrote:
>
>> I've completed a major update of Boost Log:
>> http://torjo.com/log2/
>>
>> - added scenarios
>> - allow for fast compiles
>> - updated docs
>> - compiles with gcc 3.4.2 and VC 2005
>>
>> Feedback is most welcome!
>>
>
> I tried to compile it but noticed many errors. The attached patch fixes
> a few (g++ 4.3 snapshot and g++ 4.1 used for testing).
>
> You include boost/shmem/shmem_named_shared_object.hpp which I do not
> find in Boost trunk and sandbox. Where can I find this file?
>
>
This was an old library - could be that it's not here anymore - I need
to thoroughly check this - I just ported it from the first version of my
lib.
I will look into this at a later time. So for, now, just an #if 0
altogether ;)
> Please do not blindly apply the patch but check it carefully. I'm
> willing to try updated code.
>
> PS: I get warning because BOOST_NO_INT64_T and BOOST_NO_INTEGRAL_INT64_T
> are not defined during compilation:
> svn/trunk/boost/integer_traits.hpp:164:66: warning: use of C99 long long
> integer constant
>
>
I think i solved it ;)
I've committed everything to SVN.

Note : I've fixed all the issues you found. But I don't have gcc 4.1/4.3
- could you please check that it now compiles fine? Thanks!

Best,
John

         template<class msg_type> void write( const msg_type& msg) {
             convert_dest::write(msg, (*m_out) );
- if ( m_out->ftellg() > m_flags.max_size_bytes()) {
+ // error: 'struct std::basic_ofstream<char,
std::char_traits<char> >' has no member named 'ftellg'

*typo ;) should have been tellg()
*

 
 

-- 
http://John.Torjo.com -- C++ expert
... call me only if you want things done right

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk