Re: [Monotone-debian] Bug#653764: FTBFS with Boost 1.48: lgamma_small.hpp:483:38: error: expected primary-expression before 'do'
CooSoft Support <[email protected]>
| Newsgroups | gmane.comp.version-control.monotone.devel |
|---|---|
| Message-ID | <[email protected]> |
Zack Weinberg wrote: > 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. 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. > > zw > > _______________________________________________ > Monotone-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/monotone-devel