Boost logo

Boost :

Subject: Re: [boost] auto_link.hpp update for Visual Studio 2019 GA release
From: Trueman, Chris (ctrueman_at_[hidden])
Date: 2019-04-06 10:27:22


Please ignore. I see the same change has already been made.

Chris.

-----Original Message-----
From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Trueman, Chris via Boost
Sent: 06 April 2019 11:08
To: boost_at_[hidden]
Cc: Trueman, Chris
Subject: [boost] auto_link.hpp update for Visual Studio 2019 GA release

Building boost with the GA release of Visual Studio 2019 names the outputs with v142 (which matches what VS 2019 names its build tools). But auto_link.hpp causes the linker to look for files named with v141. I changed auto_link.hpp to:

# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1910)

     // vc14:
# define BOOST_LIB_TOOLSET "vc140"

# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1920)

     // vc14.1:
# define BOOST_LIB_TOOLSET "vc141"

# elif defined(BOOST_MSVC)

     // vc14.2:
# define BOOST_LIB_TOOLSET "vc142"

This corrected the linker errors on my machine.

I'm happy to submit this properly but thought I'd check it with folks here first.

Chris.
INTELLICORP LEGAL NOTICE: This E-Mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you received this message in error, please notify the sender immediately by replying to this message, and then delete it.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


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