|
Boost Users : |
Subject: Re: [Boost-users] MSVC++ linker asking for boost_regex even though not using it
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2008-11-17 15:25:29
Hi!
On Mon, Nov 17, 2008 at 9:08 PM, Sharad Mittal <sharadmittal_at_[hidden]>wrote:
> I have been compiling my program with boost_thread, boost_date_time and
> boost_system on mingw till now. Now I am trying to compile the same program
> on VC++ (9.0) and it is asking for libboost_regex-vc90-mt-sgd-1_36.lib . Is
> that normal? I have not used boost::regex in my code at all.
>
> Thanks,
> Sharad
>
Boost uses autolinking feature of the MS compiler. Is there any chance that
some other lib, cpp or header file includes the regex header(s). If so these
contain the auto-linking instructions and the linker try to link the lib.
With Kind Regards,
Ovanes
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