Boost logo

Boost :

From: John Maddock (dr_john_maddock_at_[hidden])
Date: 2003-09-29 06:10:57


> Weird. I made a change not long ago which *fixed* the way <template>s
> worked so that templates in other subprojects could be referenced
> (boost-base.jam v. 1.103). I can't understand how that would break
> your usage.
>
> What -I options *do* you see in your command lines (bjam -n -a), and
> what do you *expect* to see?

Well for example I see:

    "cl" /Zm800 -nologo -GX -c /Z7 /Od /Ob0 /GX /GR /MDd /Op
/Zc:wchar_t,for Scope -I"..\..\bin\boost\libs\regex\build" -I"C:\Program
Files\Microsoft Visual Studio .NET
03\VC7\include" -Fo"..\..\bin\boost\libs\regex\build\libboost_regex.lib\vc
7.1\debug\threading-multi\regex.obj" -Tp"c:\data\boost\develop\boost\libs\r
egex\build\../src/regex.cpp"

Notice for example that $(BOOST_ROOT) is not in the include path (actually
none of the options applied via the template are getting applied, it should
look like this:

    "cl"
 /Zm800 -nologo -GX -c -DBOOST_REGEX_CONFIG_INFO=1 -DBOOST_REGEX_NO_LIB=1
/Z7 /Od /Ob0 /GX /GR /MDd /Op /Zc:wchar_t,forScope -I"..\..\..\bin\boost\
libs\regex\build" -I"c:\data\boost\develop\boost" -I"C:\Program
Files\Microsoft Visual Studio .NET
03\VC7\include" -Fo"..\..\..\bin\boost\libs\regex\build\libboost_regex.lib
\vc7.1\debug\c_regex_traits.obj" -Tp"..\..\..\libs\regex\build\../src/c_reg
ex_traits.cpp"

>
> What happens when you roll that change back?

No joy, it's not that change that broke things.

I tried rolling back further, but that only produced errors within the Jam
system.

John.

---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger



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