axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Ugly bug -- not sure how to handle


From: Camm Maguire
Subject: Re: [Axiom-developer] Ugly bug -- not sure how to handle
Date: 23 Aug 2004 16:01:47 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

David MENTRE <address@hidden> writes:

> Camm Maguire <address@hidden> writes:
> 
> > R1 is defined in ucontext.h on arm only, conflicting with
> > src/graph/view3D/globals.h.
> >
> > An #undef R1 in the latter file works, but....
> 
> Rename R1 in AXIOM_R1?
> 
> And maybe stupid question: why is ucontext.h included from a libc .h
> file? 
> 

It is brought in, on arm at least, by signal.h.  I've just added an
ugly Debian patch for now:

--- ./src/graph/view3D/globals.h.orig   2004-06-27 15:01:02.000000000 +0000
+++ ./src/graph/view3D/globals.h        2004-08-17 22:32:44.000000000 +0000
@@ -128,10 +128,10 @@
 extern float            pzMin, pzMax;
 
 extern int              maxGreyShade;
-
+#undef R1
 extern char             propertyName[];
 extern char             propertyBuffer[];
-
+#define R1 RR1
 extern float            transform[4][4], transform1[4][4],
                         R[4][4], R1[4][4], S[4][4], T[4][4], I[4][4];
 extern float            vxmax,vxmin,vymax,vymin,


BTW, axiom 20040705 is now in Debian testing!  Compiled on all 12
platforms, and will ship with 'sarge' pretty soon now.  I'd like to
get in another recompile with the latest 2.6.5 fix, but do not know if
there is time.

Take care,

> Yours,
> d.
> -- 
> David MENTRE <address@hidden> -- http://www.nongnu.org/axiom/
> 
> 
> _______________________________________________
> Axiom-developer mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/axiom-developer
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]