Giter Club home page Giter Club logo

Comments (6)

krlmlr avatar krlmlr commented on July 28, 2024

It's fixed in the devel version, for a CRAN release I'll need to get rid of the warning at https://cran.r-project.org/web/checks/check_results_winch.html. Does that ring a bell?

from winch.

krlmlr avatar krlmlr commented on July 28, 2024
trace_back_backtrace.c: In function 'cb_get_name_ip':
trace_back_backtrace.c:87:19: warning: unknown conversion type character 'l' in format [-Wformat=]
   87 |   sprintf(ip_buf, "%.16" PRIxPTR, pc);
      |                   ^~~~~~
In file included from trace_back_backtrace.c:8:
d:\rtools42\x86_64-w64-mingw32.static.posix\include\inttypes.h:37:18: note: format string is defined here
   37 | #define PRIx64 "llx"
      |                  ^
trace_back_backtrace.c:87:19: warning: too many arguments for format [-Wformat-extra-args]
   87 |   sprintf(ip_buf, "%.16" PRIxPTR, pc);
      |                   ^~~~~~

from winch.

krlmlr avatar krlmlr commented on July 28, 2024

FWIW, I worked around in b450b7e. This issue is a real mess.

from winch.

krlmlr avatar krlmlr commented on July 28, 2024

Fixed on CRAN now.

from winch.

lionel- avatar lionel- commented on July 28, 2024

This looks like the issue of Microsoft's clib not conforming to the C standard. The mingw toolchain reproduces the Microsoft behaviour. You can set a variable to use the gcc version instead. But even then you might still get false positive warnings about it in some cases.

See https://github.com/r-lib/rlang/blob/22fe9e9d729d562fcfd580c7a350f56d7a864639/src/rlang/rlang.h#L4-L21

from winch.

github-actions avatar github-actions commented on July 28, 2024

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

from winch.

Related Issues (12)

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.