[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] [Monotone-debian] Bug#653764: FTBFS with Boost 1.48
Re: [Monotone-devel] [Monotone-debian] Bug#653764: FTBFS with Boost 1.48: lgamma_small.hpp:483:38: error: expected primary-expression before 'do'
Sun, 01 Jan 2012 10:41:53 +0000
Mozilla-Thunderbird 18.104.22.168 (X11/20100328)
Zack Weinberg wrote:
With such short names they are bound to clash at some point with some
3rd party software. You could prefix them with a namespace, say MTN_...
so have MTN_L() etc.
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.
Monotone-devel mailing list