#2114: Get gf2x version 1.1 into Sage!
-------------------------------------+--------------------------------------
Reporter: was | Owner: somebody
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: basic arithmetic | Resolution:
Keywords: spkg gf2x | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jean-Pierre Flori | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by leif):
Replying to [comment:31 leif]:
> {{{
> gf2x.c: In function 'gf2x_mul_pool_init':
> gf2x.c:82:24: warning: argument to 'sizeof' in 'memset' call is the same
expression as the destination; did you mean to dereference it? [-Wsizeof-
pointer-memaccess]
> memset(p, 0, sizeof(p));
> ^
> }}}
Harmless, but warning could be avoided by using `sizeof(gf2x_mul_pool_t)`
instead in
{{{
#!c
void gf2x_mul_pool_init(gf2x_mul_pool_t p)
{
memset(p, 0, sizeof(p));
}
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2114#comment:32>
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.