On Jan 11, 2006, at 6:55 AM, Jean-Marc Lasgouttes wrote:

"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> On the other hand, I tried one more time to compile with
Bennett> gcc-2.95, throwing caution to the wind. The problem had been
Bennett> with Apple's MDItem.h, specifically line 781, which is the
Bennett> #define line here:

Bennett> I simply commented that line out, and compiled. It works:
Bennett> lyx-137 is functional, and with quick testing I can't find
Bennett> anything wrong with it.

Excellent :) I do not think you should advise people to edit their
header files, though. Another solution is to make a copy of the
original header file in src/ and edit it. Or you could have a quick
look to see where/why this include file is used, and see if we can
avoid that by a magic #define.

Got it!

#define __METADATA_METADATA__ 1 needs to be included in:

package.C
QWorkArea.C
lyx_gui.C
qfont_loader.C

Patch attached.

Bennett

Attachment: mac104.diff
Description: Binary data

Reply via email to