On Sun, Jul 25, 2010 at 02:06:11AM -0700, Simon King wrote: > Hi! > > This is related with #9583. > > If the patch from #1396 is applied, Sage segfaults on t2 at startup. > It seems that the offending part of the code is in sage/libs/singular/ > option.pyx. > > I thought that Cython generates C code, which is then processed > further with gcc. But in this case, it seems that C++ code is > generated. However, this C++ code is still processed with gcc, not g+ > +. This gives to rise to a compiler warning, and it might be the > reason for the segfault.
The warning "cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++" means the C++ compiler (cc1plus) is being used, though. If the the C compiler were being used, -Wstrict-prototypes would be a valid warning option, and it wouldn't complain. -Willem Jan -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
