Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-04-25 15:25:36


Problem 1: I can't seem to find any regex makefiles in the current boost
snapshot...except for apparent flotsam that begins with ".#", but:

Problem 2: in the file boost/libs/regex/lib/.#bcc55.mak.1.7, the tlib
command does not use the /C option. This seems like a bad policy for C++
code. The TLIB docs say:

Using Case-sensitive Symbols in a Library

When you add a module to a library, TLIB maintains a dictionary of all
public symbols defined in the modules of the library. All symbols in the
library must be distinct. If you try to add a module to the library that
duplicates a symbol, TLIB displays an error message and doesn't add the
module.

Normally, when TLIB checks for duplicate symbols in the library, uppercase
and lowercase letters are not treated differently (for example, the symbols
lookup and LOOKUP are treated as duplicates). You can use the /C option to
add a module to a library that includes symbols differing only in case.

Don't use /C if you plan to use the library with other linkers or let other
people use the library.

TLIB normally rejects symbols that differ only in case because some linkers
aren't case-sensitive. ILINK32 has no problem distinguishing uppercase and
lowercase symbols. As long as you use your library only with ILINK32, you
can use the TLIB /C option without any problems.

-Dave


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