Boost logo

Boost Users :

Subject: Re: [Boost-users] [Units] Bug with BOOST_UNITS_STATIC_CONSTANT and precompiled headers on MSVC
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-02 22:22:15


AMDG

David Walthall wrote:
> I think that I've run across a bug, either in Units, or in MSVC.
> Because it only appears when precompiled headers are in use, I suspect
> it may be a bug in MSVC. Basically, if BOOST_UNITS_STATIC_CONSTANT is
> used in a header that is compiled into the precomiled header, there will
> be linker errors.
>
> Here is my information:
> Microsoft Windows XP Professional x64 Edition
> Microsoft Development Environment 2003 Version 7.1.6030
> Microsoft Visual Studio .NET 2003 Service Pack 1 (KB918007)
>

Fixed in svn. Thanks for reporting this.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net