Git Product home page Git Product logo

tpie's Introduction

tpie's People

Contributors

adanner avatar antialize avatar coolwanglu avatar freekvw avatar jallan avatar mbeckem avatar mortal avatar prentow avatar shlomif avatar ssoelvsten avatar svendcs avatar thomasmoelhave avatar tyilo avatar

Watchers

 avatar  avatar

tpie's Issues

Windows Compilation Warnings

  • \tpie\cpu_timer.cpp(47,9): warning C4101: current_: unreferenced local variable
  • tpie\execution_time_predictor.cpp(273,14): warning C4244: 'initializing': conversion from '_Rep' to 'double', possible loss of data
  • tpie\pipelining\runtime.cpp(511,1): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
  • tpie\pipelining\runtime.cpp(525,1): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
  • tpie\pipelining\runtime.cpp(547,1): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
  • tpie\unittest.cpp(314,24): warning C4244: 'argument': conversion from 'double' to 'size_t', possible loss of data

Warning: "Pointer used after delete"

When compiling, one gets the following warning.

In function ‘void tpie::pipelining::bits::intrusive_ptr_release(node_map*)’,
    inlined from ‘void tpie::pipelining::bits::intrusive_ptr_release(node_map*)’ at /home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/../tpie/pipelining/tokens.h:232:14,
    inlined from ‘boost::intrusive_ptr<T>::~intrusive_ptr() [with T = tpie::pipelining::bits::node_map]’ at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:98:44,
    inlined from ‘{anonymous}::name::~name()’ at /home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/pipelining/pipeline.cpp:30:8,
    inlined from ‘void tpie::pipelining::bits::pipeline_base_base::plot_impl(std::ostream&, bool)’ at /home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/pipelining/pipeline.cpp:103:53:
/home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/../tpie/pipelining/tokens.h:234:46: note: call to ‘void operator delete(void*, std::size_t)’ here
  234 |                 if (m->m_refCnt == 0) delete m;
      |                                              ^
In function ‘void tpie::pipelining::bits::intrusive_ptr_release(node_map*)’,
    inlined from ‘boost::intrusive_ptr<T>::~intrusive_ptr() [with T = tpie::pipelining::bits::node_map]’ at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:98:44,
    inlined from ‘void tpie::pipelining::bits::pipeline_base_base::plot_impl(std::ostream&, bool)’ at /home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/pipelining/pipeline.cpp:103:19:
/home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/../tpie/pipelining/tokens.h:233:20: warning: pointer used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
  233 |                 m->m_refCnt--;
      |                 ~~~^~~~~~~~

Windows Compilation Errors

  • tpie\pipelining\merge_sorter.cpp(325):

    • error C2672: 'std::max': no matching overloaded function found
  • tpie\pipelining\merge_sorter.cpp(325):

    • error C2780: '_Ty std::max(std::initializer_list<_Elem>)': expects 1 arguments - 2 provided
    • error C2784: '_Ty std::max(std::initializer_list<_Elem>,_Pr)': could not deduce template argument for 'std::initializer_list<_Elem>' from 'unsigned long'
    • error C2782: 'const _Ty &std::max(const _Ty &,const _Ty &) noexcept()': template parameter '_Ty' is ambiguous.
      could be 'tpie::memory_size_type' or 'unsigned long'
    • error C2784: 'const _Ty &std::max(const _Ty &,const _Ty &) noexcept()': could not deduce template argument for 'const _Ty &' from 'tpie::memory_size_type'
    • error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr) noexcept()': expects 3 arguments - 2 provided
  • test\speed_regression\btree.cpp(65):

    • error C2039: 'random_shuffle': is not a member of 'std'
    • error C3861: 'random_shuffle': identifier not found
  • test\speed_regression\btree.cpp(84):

    • error C2039: 'random_shuffle': is not a member of 'std'
    • error C3861: 'random_shuffle': identifier not found
  • tpie\test\unit/common.h(41): error C2143: syntax error: missing ',' before '<'

  • test\unit\test_close_file.cpp(47):

    • error C3083: 'system': the symbol to the left of a '::' must be a type
    • error C2039: 'system_error': is not a member of 'boost
    • error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    • error C2143: syntax error: missing ',' before '&'
    • error C2065: 'e': undeclared identifier
  • tpie\test\unit\test_array.cpp
    The following errors seem to happen due to the std::sort on line 233 .

    • include\algorithm(7305,1): error C2678: binary '*': no operator found which takes a left-hand operand of type 'const _BidIt' (or there is no acceptable conversion)

    • include\algorithm(7305,17): error C2100: illegal indirection

    • include\algorithm(7307,1): error C2678: binary '*': no operator found which takes a left-hand operand of type 'const _BidIt' (or there is no acceptable conversion)

    • include\algorithm(7307,17): error C2100: illegal indirection

      The 'stack trace' inside of the STL is:

      • void std::sort<_RanIt,std::less<void>>(const _RanIt,const _RanIt,_Pr)
      • void std::_Sort_unchecked<_RanIt,_Fn>(_RanIt,_RanIt,__int64,_Pr)
      • _BidIt std::_Insertion_sort_unchecked<_RanIt,_Pr>(const _BidIt,const _BidIt,_Pr)

      This might be an issue with the const. The iterators probably are missing a const?

      https://github.com/microsoft/STL/blob/main/stl/inc/algorithm#L7146
      https://github.com/microsoft/STL/blob/main/stl/inc/algorithm#L1487

  • unit\test_btree.cpp(...):

    • error C3861: 'random_shuffle' is not part of 'std'
  • unit\test_freespac_collection.cpp(...):

    • error C3861: 'random_shuffle' is not part of 'std'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.