Git Product home page Git Product logo

c_numconv_benchmark's People

Contributors

ibireme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c_numconv_benchmark's Issues

build: problem with 'max' in abseil failure_signal_handler

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

  • OS: Ubuntu 22.04.2 LTS
  • Compiler g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 ( gcc the same ),

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,

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.