ssoelvsten / tpie Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thomasmoelhave/tpie
Templated Portable I/O Environment
Home Page: http://madalgo.au.dk/tpie
License: Other
This project forked from thomasmoelhave/tpie
Templated Portable I/O Environment
Home Page: http://madalgo.au.dk/tpie
License: Other
\tpie\cpu_timer.cpp(47,9)
: warning C4101: current_
: unreferenced local variabletpie\execution_time_predictor.cpp(273,14)
: warning C4244: 'initializing': conversion from '_Rep' to 'double', possible loss of datatpie\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 tpie\pipelining\merge_sorter.cpp(325)
:
tpie\pipelining\merge_sorter.cpp(325)
:
test\speed_regression\btree.cpp(65)
:
test\speed_regression\btree.cpp(84)
:
tpie\test\unit/common.h(41)
: error C2143: syntax error: missing ',' before '<'
test\unit\test_close_file.cpp(47)
:
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(...)
:
unit\test_freespac_collection.cpp(...)
:
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--;
| ~~~^~~~~~~~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.