Opened 20 years ago

Closed 19 years ago

Last modified 19 years ago

#124 closed Bugs (Fixed)

Warnings of "_MSC_VER" not being defined

Reported by: nobody Owned by: bjorn_karlsson
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

I'm using the <boost/shared_ptr.hpp> from the CVS
version with GCC-3.2. I get a lot of warnings about
_MSC_VER not being defined. The warning is caused by
these kind of lines in several header files:

        #if _MSC_VER >= 1020

Should'nt that be:

        #if defined(_MSC_VER) && _MSC_VER >= 1020

These are the files causing warnings in my case:

        assert.hpp
        checked_delete.hpp
        detail/lightweight_mutex.hpp
        detail/lwm_pthreads.hpp
        detail/shared_count.hpp
        throw_exception.hpp

Thanks,
Markus Järvinen <markus.jarvinen@pp2.inet.fi>

Change History (3)

comment:1 by bjorn_karlsson, 19 years ago

Status: assignedclosed
Logged In: YES 
user_id=536454

Thank you for submitting a bug report to BOOST

comment:2 by bjorn_karlsson, 19 years ago

Logged In: YES 
user_id=536454

Thank you for submitting a bug report to BOOST

comment:3 by bjorn_karlsson, 19 years ago

Logged In: YES 
user_id=536454

Thank you for submitting a bug report to BOOST
Note: See TracTickets for help on using tickets.