Re: [Monotone-debian] Bug#653764: FTBFS with Boost 1.48: lgamma_small.hpp:483:38: error: expected primary-expression before 'do'

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
On 2011-12-31 5:02 PM, Hendrik Boom wrote:
> On Sat, Dec 31, 2011 at 12:02:37PM +0100, Zack Weinberg wrote:
>> I'm not in a position to verify this for myself for another week, but
>> I have a horrible feeling I know what's wrong:  Monotone defines
>> several one-character macros for its own use, and L() is one of them.
>> It looks like Boost is using L() for its own purposes and expecting it
>> not to be a macro.
...
> Or by changing the name of L.

L and several other one- or two-character macros (from memory: F, FL, I, 
M, MM; there are probably at least two more) are used dozens of times in 
every file -- and more important still, the coding style assumes they 
are short-yet-mnemonic.  I cannot support changing them.

zw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.