rule cpp-pch unknown in module Jamfile</D:/boost/trunk/libs/math/build>?

I'm trying and failing to run the smart_ptr tests because of: D:\boost\trunk\libs\smart_ptr\test>bjam ..\..\..\libs\math\build\Jamfile.v2:8: in modules.load rule cpp-pch unknown in module Jamfile</D:/boost/trunk/libs/math/build>. D:/boost/trunk/tools/build/v2/build\project.jam:313: in load-jamfile D:/boost/trunk/tools/build/v2/build\project.jam:62: in project.load D:/boost/trunk/tools/build/v2/build\project.jam:742: in project.use D:/boost/trunk/tools/build/v2/build\project.jam:89: in load-used-projects D:/boost/trunk/tools/build/v2/build\project.jam:73: in load D:/boost/trunk/tools/build/v2/build\project.jam:115: in load-parent D:/boost/trunk/tools/build/v2/build\project.jam:448: in initialize D:/boost/trunk/tools/build/v2/build\project.jam:303: in load-jamfile D:/boost/trunk/tools/build/v2/build\project.jam:62: in load D:/boost/trunk/tools/build/v2/build\project.jam:168: in project.find D:/boost/trunk/tools/build/v2\build-system.jam:535: in load D:\boost\trunk\tools\build\v2/kernel\modules.jam:283: in import D:\boost\trunk\tools\build\v2/kernel/bootstrap.jam:138: in boost-build D:\boost\trunk\boost-build.jam:17: in module scope -- Peter Dimov http://www.pdplayer.com

AMDG Peter Dimov wrote:
I'm trying and failing to run the smart_ptr tests because of:
D:\boost\trunk\libs\smart_ptr\test>bjam ..\..\..\libs\math\build\Jamfile.v2:8: in modules.load rule cpp-pch unknown in module Jamfile</D:/boost/trunk/libs/math/build>.
It works for me as of revision 51485. In Christ, Steven Watanabe

Steven Watanabe:
AMDG
Peter Dimov wrote:
I'm trying and failing to run the smart_ptr tests because of:
D:\boost\trunk\libs\smart_ptr\test>bjam ..\..\..\libs\math\build\Jamfile.v2:8: in modules.load rule cpp-pch unknown in module Jamfile</D:/boost/trunk/libs/math/build>.
It works for me as of revision 51485.
Further investigation shows that it works (for me) with toolset=gcc and an explicit toolset=msvc, but doesn't for toolset=borland and when the toolset is omitted (this works in the release branch and defaults to msvc).

AMDG Peter Dimov wrote:
Further investigation shows that it works (for me) with toolset=gcc and an explicit toolset=msvc, but doesn't for toolset=borland and when the toolset is omitted (this works in the release branch and defaults to msvc).
I'm going to guess that you initialize neither gcc nor msvc in user-config.jam. Is that correct? In Christ, Steven Watanabe

Steven Watanabe:
AMDG
Peter Dimov wrote:
Further investigation shows that it works (for me) with toolset=gcc and an explicit toolset=msvc, but doesn't for toolset=borland and when the toolset is omitted (this works in the release branch and defaults to msvc).
I'm going to guess that you initialize neither gcc nor msvc in user-config.jam. Is that correct?
Correct. I don't have a user-config.jam.

AMDG Peter Dimov wrote:
Steven Watanabe:
AMDG
Peter Dimov wrote:
Further investigation shows that it works (for me) with toolset=gcc and an explicit toolset=msvc, but doesn't for toolset=borland and when the toolset is omitted (this works in the release branch and defaults to msvc).
I'm going to guess that you initialize neither gcc nor msvc in user-config.jam. Is that correct?
Correct. I don't have a user-config.jam.
Ok. I see what's going on. the Jamfile actually ought to have an import pch ; but this hasn't been detected before because it works as long as some other module does the import. In Christ, Steven Watanabe

Steven Watanabe wrote:
AMDG
Peter Dimov wrote:
Steven Watanabe:
AMDG
Peter Dimov wrote:
Further investigation shows that it works (for me) with toolset=gcc and an explicit toolset=msvc, but doesn't for toolset=borland and when the toolset is omitted (this works in the release branch and defaults to msvc).
I'm going to guess that you initialize neither gcc nor msvc in user-config.jam. Is that correct?
Correct. I don't have a user-config.jam.
Ok. I see what's going on. the Jamfile actually ought to have an import pch ; but this hasn't been detected before because it works as long as some other module does the import.
You're right. Since the change is obvious I gather John would not mind me checking a fix, so I did so. - Volodya

Ok. I see what's going on. the Jamfile actually ought to have an import pch ; but this hasn't been detected before because it works as long as some other module does the import.
Thanks for tracking that one down! John.
participants (4)
-
John Maddock
-
Peter Dimov
-
Steven Watanabe
-
Vladimir Prus