On Thu, Mar 16, 2006 at 10:15:54PM +0100, Lars Gullik Bjønnes wrote:

> | I just built and packaged LyX 1.4.0 for the Blastwave project. I found
> | that the following error occurs (x86 only, not SPARC):
> | 
> [...]
> | 
> | This is problem is very similar to the issue I reported on Oct. 26,
> | 2005. It's even the same file that's at fault this time as well.
> | Solaris 8 x86 defines the constant "ERR".
> | 
> | /usr/include/ia32/sys/reg.h contains:
> | 
> |   #if !defined(_XPG4_2) || defined(__EXTENSIONS__)
> |   [...]
> |   #define ERR             13
> |   [...]
> |   #endif /* !defined(_XPG4_2) || defined(__EXTENSIONS__) */
> 
> I hope you report this to the SunOS people as well.

This isn't a bug as such. He defined __EXTENSIONS__ which means "enable
everything", more or less. Compatability means we cannot get rid of
anything that code might be relying on.

If LyX compiles without __EXTENSIONS__, then that's probably the best
option. If it doesn't (and I suspect it won't), then #undef might be the
best option.

regards,
john

Reply via email to