Ran
|
Files
273
|
Run time
30s
|
Badge
Embed ▾
README BADGES
|
travis-ci
tool_cb_wrt.c: silence benign warning with pragma Commit 5bfaa86ce introduced a new compiler warning on Windows cross compilation with GCC. The coding is however a documented pattern for acquiring a handle to write to, so rather than changing working code this wraps the offending cast in a GCC diagnostic pragma to silence the warning. See below for an example of the warning from the autobuild logs (whitespace edited to fit): /src/tool_cb_wrt.c:175:9: warning: cast from function call of type 'intptr_t {aka long long int}' to non-matching type 'void *' [-Wbad-function-cast] (HANDLE) _get_osfhandle(fileno(outs->stream)), ^
21752 of 29059 relevant lines covered (74.85%)
779882.59 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|