Comments (6)
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.
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.
FWIW, I worked around in b450b7e. This issue is a real mess.
from winch.
Fixed on CRAN now.
from winch.
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.
from winch.
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)
- Provide C callable replacement for Rf_error() HOT 3
- Experiment with libunwind HOT 2
- Integrate into rlang? HOT 1
- Use getLoadedDLLs() HOT 2
- Performance of winch with testthat HOT 1
- add_trace_back doesn't work correctly on 32-bit systems HOT 6
- print backtrace on crash? HOT 1
- winch corrupts rlang backtraces HOT 9
- Update upstream libbacktrace sources HOT 3
- Error in winch_trace_back() : unw_getcontext() error: -1073785320 HOT 9
- Fix r-universe build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winch.