Changes between Initial Version and Version 41 of Ticket #23341


Ignore:
Timestamp:
09/22/17 12:14:31 (4 years ago)
Author:
jdemeyer
Comment:

Hmm, maybe it's not a matter of porting to C++11, but just porting to proper C++ instead. At least src/sage/libs/lcalc/lcalc_Lfunction.pyx doesn't compile with -std=c++98 either: it requires either -std=gnu++98 or -std=gnu++11.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23341

    • Property Component changed from PLEASE CHANGE to number theory
    • Property Dependencies changed from #12426 to
    • Property Branch changed from u/dimpase/lcalc_c11 to u/dimpase/lcalc_cxx11
    • Property Milestone changed from sage-8.0 to sage-8.1
    • Property Commit changed from 015955efe9577dc9c3d443a4328297cd097454ee to 666d6a3d3de0d80ff8730dd3320f182b6f21368b
    • Property Type changed from PLEASE CHANGE to enhancement
  • Ticket #23341 – Description

    initial v41  
    1     porting lcalc to C++11
     1lcalc doesn't use standard C++:
     2
     3- `using namespace std;` needs an include with stuff from `std::` before it
    24   
    3     * "using namespace std;" need an include with stuff from std:: before it
     5- `typeof` is a gcc extension - C++11 has `decltype` instead
    46   
    5     * "typeof" is a gcc extension - C++11 has "decltype" instead
    6    
    7     * plain C must not be compiled with C++ compiler - thus a makefile change
     7- plain C must not be compiled with C++ compiler - thus a makefile change