On Jan 9, 2006, at 10:54 AM, Jean-Marc Lasgouttes wrote:
Bennett, do you think you will be able to find somebody with acess to
OSX 10.3 to compile lyx 1.3.7? If you can, I think I am going to give
up trying to make it work with gcc3.
I think I can. (It might be easiest to put 10.3 on an external hard
drive and boot from that to compile, but I'll have to dig up a 10.3
install disk somewhere....)
On the other hand, I tried one more time to compile with gcc-2.95,
throwing caution to the wind. The problem had been with Apple's
MDItem.h, specifically line 781, which is the #define line here:
#if defined(__GNUC__) || __STDC_VERSION__ >= 199901L
/* Private function rewriting */
MD_BEGIN_C_DECLS
extern CFDictionaryRef __MDItemCopyAttributesEllipsis1(MDItemRef
item, ...) MD_AVAIL;
#define MDItemCopyAttributeList(item, ...)
__MDItemCopyAttributesEllipsis1(item, __VA_ARGS__, NULL)
MD_END_C_DECLS
#endif
I simply commented that line out, and compiled. It works: lyx-137 is
functional, and with quick testing I can't find anything wrong with it.
So ... I assume I didn't break anything since MDItem is used for
metadata, which LyX doesn't use at all.
Any reason not to proceed this way?
Bennett