Opened 11 years ago

Closed 11 years ago

#6209 closed Bugs (fixed)

tools/build/v2/util\doc.jam:673: Conditional used as list

Reported by: dnlbtz@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost Development Trunk Severity: Problem
Keywords: doc jam b2 bjam Cc: Steven Watanabe Vladimir Prus

Description

Today I checked out the boost trunk and get the following error after building boost.build with bootstrap.bat (tried mingw and vc10)

C:\data\packs\boost-trunk>.\b2 --help
C:/data/packs/boost-trunk/tools/build/v2/util\doc.jam:673: Conditional used as list (check operator precedence).

I changed line 673 from

        if $(m) && ! $(m) = ""

to

        if $(m) && $(m) != ""

and it works.

Change History (1)

comment:1 by Vladimir Prus, 11 years ago

Resolution: fixed
Status: newclosed

(In [75803]) Correct operator precedence.

Fixes #6209.

Note: See TracTickets for help on using tickets.