Hello,

Trying to upgrade Sage to 9.5 on FreeBSD, I'm encountering an infinite
loop in doc-inventory--reference-manifolds.

When investigating for this problem (not yet solved), I noticed several
warnings in sagelib / ginac when compiled with clang:

sage/symbolic/ginac/cmatcher.cpp:548:17: warning: code will never be executed 
[-Wunreachable-code]
        ret_val = false;
                ^
sage/symbolic/ginac/cmatcher.cpp:761:17: warning: code will never be executed 
[-Wunreachable-code]
        ret_val = false;
                ^

sage/symbolic/ginac/numeric.cpp:981:9: warning: code will never be executed 
[-Wunreachable-code]
        setflag(status_flags::evaluated | status_flags::expanded);
        ^~~~~~~
sage/symbolic/ginac/numeric.cpp:4368:34: warning: code will never be executed 
[-Wunreachable-code]
        throw std::runtime_error("iquo: bad input");
                                 ^~~~~~~~~~~~~~~~~
sage/symbolic/ginac/numeric.cpp:4406:34: warning: code will never be executed 
[-Wunreachable-code]
        throw std::runtime_error("iquo2: bad input");
                                 ^~~~~~~~~~~~~~~~~~

These lines could simply be removed, unless some other behaviour was
intended?

Regards.
-- 
Th. Thomas.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/YeCfqNq%2BzUbGbma/%40graf.pompo.net.

Reply via email to