On Thu, 15 Feb 2007 21:55:59 -0800, didier  deshommes <[EMAIL PROTECTED]> wrote:

>
> Allo,
> I've added some doctests to quad-double and fixed some bugs here and
> there. The patch is here:
> http://sage.math.washington.edu/home/dfdeshom/custom/patches/quaddouble-examples.txt

Actually, after applying your patch when I try to build I get:

rank4:~/grants/2007-packard was$ sage -br

----------------------------------------------------------
sage: Building and installing modified SAGE library files.

sage/rings/real_qdrf.pyx --> 
/Users/was/s/local//lib/python/site-packages//sage/rings/real_qdrf.pyx
pyrexc --embed-positions -I/Users/was/s/devel/sage-main sage/rings/real_qdrf.pyx
running install
running build
running build_py
running build_ext
building 'sage.rings.real_qdrf' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd 
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/was/s/local//include 
-I/Users/was/s/local//include/python -I/Users/was/s/devel//sage/sage/ext 
-I/Users/was/s/local/include/python2.5 -c sage/rings/real_qdrf.cpp -o 
build/temp.macosx-10.3-i386-2.5/sage/rings/real_qdrf.o -w
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
sage/rings/real_qdrf.cpp:1198: error: integer constant is too large for 'long' 
type
error: command 'gcc' failed with exit status 1
sage: There was an error installing modified sage library code.

where 1198 has the big constant below...

   /* "/Users/was/s/devel/sage-main/sage/rings/real_qdrf.pyx":122
  *
  *     def __hash__(self):
  *         return -8953654399753187499 #==hash(self.name())             # 
<<<<<<<<<<<<<<
  *
  *     def pi(self):
  */
   __pyx_r = (-8953654399753187499);
   goto __pyx_L0;

   __pyx_r = 0;
   goto __pyx_L0;


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to