#14268: Remove C99 flags in module_list.py
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-5.9
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: #14265 | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by leif):
Replying to [comment:7 jdemeyer]:
> Replying to [comment:ticket:14265:19]:
> > Do `env CFLAGS="-DFOO" ./sage -ba` and the `-std=gnu99` vanishes
> It does indeed. I'd say this is a bug.
Well, depends. Probably a bug in Sage, but it always used to be that way.
(And I suggested adding `-fno-strict-aliasing` in `setup.py` loooooong
time ago, but nobody bothered. Only Cython-generated code requires this.)
> > so we must not remove `-std=c99` from the `extra_compile_flags` (or
what it's called).
> I disagree with this conclusion, since over-riding `CFLAGS` also removes
other mandatory flags, like `-fno-strict-aliasing`. So you're basically
saying that my patch breaks something which is already broken.
Nope. It ''further'' breaks building extension modules, IMHO without any
gain.
(Btw., exporting `CFLAGS=""` is sufficient.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14268#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.