ibireme / c_numconv_benchmark Goto Github PK
View Code? Open in Web Editor NEWC/C++ number ↔︎ string benchmark
License: MIT License
C/C++ number ↔︎ string benchmark
License: MIT License
friendly hello @ALL,
I did! search for old issues, none where shown???, first bug?
Describe the bug
build fails with:
/home/ubuntu/gnome.lnk/000_from_scratch/c_numconv_benchmark/vendor/abseil-cpp/absl/debugging/failure_signal_handler.cc: In function ‘bool absl::SetupAlternateStackOnce()’:
/home/ubuntu/gnome.lnk/000_from_scratch/c_numconv_benchmark/vendor/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: error: no matching function for call to ‘max(long int, int)’
138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
| ~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/algorithm:61,
from /home/ubuntu/gnome.lnk/000_from_scratch/c_numconv_benchmark/vendor/abseil-cpp/absl/debugging/failure_signal_handler.cc:35:
/usr/include/c++/11/bits/stl_algobase.h:254:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
254 | max(const _Tp& __a, const _Tp& __b)
Your environment
Additional context
after trying different type adaptions as proposed in why-max-function-in-c-giving-error-no-matching-function-for-call-to-max-s
the build succeeds, but
./run_itoa -o report_itoa.html
is happily throwing errors like:
------[verify]---------
verify yy
i32 error: -2147483648 -> -00 (length 11 -> 3)
i64 error: -9223372036854775808 -> -0 (length 20 -> 2)
I followed the build instructions as simply as possible,
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.