| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. Fix by using static_cast to uint32_t.
Sorry, something went wrong.
There was a problem hiding this comment.
Out of curiosity what os are you building on?
Sorry, something went wrong.
|
@jasnell I'm on macOS 10.12.6. |
Sorry, something went wrong.
|
Ok. I haven't built on Mac with the --debug-http2 option in quite some time. Thanks for catching that! :) |
Sorry, something went wrong.
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. Fix by using static_cast to uint32_t. PR-URL: #16373 Reviewed-By: James M Snell <jasnell@gmail.com>
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. Fix by using static_cast to uint32_t. PR-URL: nodejs/node#16373 Reviewed-By: James M Snell <jasnell@gmail.com>
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. Fix by using static_cast to uint32_t. PR-URL: #16373 Reviewed-By: James M Snell <jasnell@gmail.com>
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. Fix by using static_cast to uint32_t. PR-URL: #16373 Reviewed-By: James M Snell <jasnell@gmail.com>
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. Fix by using static_cast to uint32_t. PR-URL: nodejs/node#16373 Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
When compiling with --debug-http2 flag, compiler complains about passing wrong type of argument to DEBUG_HTTP2. I'm not certain if this is something about my system or if I'm missing something here since no one else has noticed... then again maybe I'm the only one using --debug-http2 at this moment.
../src/node_http2.cc:141:17: error: cannot pass object of non-trivial type 'node::AliasedBuffer<unsigned int, v8::Uint32Array>::Reference' through variadic function; call will abort at runtime [-Wnon-pod-varargs] buffer[IDX_SETTINGS_HEADER_TABLE_SIZE]);This fixes the issue by casting to uint32_t.
Checklist
Affected core subsystem(s)
http2