#20905: converting frobby into a new-style package
-------------------------------------+-------------------------------------
Reporter: dimpase | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-7.3
Component: packages: | Resolution:
optional |
Keywords: | Merged in:
Authors: Dima Pasechnik | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/dimpase/frobbyupdate | f1f80e4e1a8c8f2e665794ab21a2c313b931c37f
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:13 mkoeppe]:
> `sage -f -c frobby` gives:
> {{{
> [frobby-0.9.0.p2] Running the test suite for frobby-0.9.0.p2...
> [frobby-0.9.0.p2] g++ -Wall -I /Users/mkoeppe/cvs/sage/local/include
-Wno-uninitialized -Wno-unused-parameter -std=c++11 -g -D DEBUG -fno-
inline -Wextra -Wno-uninitialized -Wno-unused-parameter -c src/main.cpp -o
bin/debug/main.o
> [frobby-0.9.0.p2] In file included from
/Users/mkoeppe/cvs/sage/local/include/c++/4.9.2/map:60:0,
> [frobby-0.9.0.p2] from src/CliParams.h:24,
> [frobby-0.9.0.p2] from src/Action.h:21,
> [frobby-0.9.0.p2] from src/main.cpp:20:
> [frobby-0.9.0.p2]
/Users/mkoeppe/cvs/sage/local/include/c++/4.9.2/bits/stl_tree.h: In member
function 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue,
_Compare, _Alloc>::_M_create_node(_Args&& ...)':
> [frobby-0.9.0.p2]
/Users/mkoeppe/cvs/sage/local/include/c++/4.9.2/bits/stl_tree.h:420:14:
error: '__tmp' does not name a type
> [frobby-0.9.0.p2] ::new(__tmp) _Rb_tree_node<_Val>;
> [frobby-0.9.0.p2] ^
> [frobby-0.9.0.p2] make[2]: *** [bin/debug/main.o] Error 1
> }}}
> but then it happily continues ("All normal tests passed.")
yes, I have seen this. This concerns debugging version of the program
only, IMHO. My C++ is too rusty to get any idea what goes wrong there,
besides vague recollections of "iterator traits" etc I got nightmares
about... Hopefully it's OK as it is.
--
Ticket URL: <https://trac.sagemath.org/ticket/20905#comment:15>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.