Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-12-05 10:28:31


Hi,
the current msvc.jam has this around line 295:

        if ! $(setup)
        {
            error "msvc: Visual Studio setup script not found" ;
        }

I think this is not a good idea for a number of reasons:

1. I can't debug msvc problems in Linux by running "bjam -n msvc", because I
don't have any setup scripts.
2. Even if I have real msvc, I might have wierd way of running it, like under
wine. In that case, again, setup script can be non-existent. In general, it's
best to no error out unless we're 100% sure things won't work -- which we
rarely can.
3. This "error" prints a long stack trace which is likely to confuse users.
I'd suggest using "errors.user-error" that will print the exact line in
user-config.jam where "using msvc" is invoked, and omit internal stack
frames.

I am not asking for this line be changed -- I can do it myself. But do we
agree on above points? I certainly can miss something.

Thanks,
Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk