-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code cleanup -warnings #164
Labels
Comments
@mhdawson Can I take this issue? |
romandev
added a commit
to romandev/node-addon-api
that referenced
this issue
Oct 27, 2017
The warnings occur due to a bug in gcc(<5.1.1)[1]. To fix this issue, we can use constructor initializer instead of empty braces initializer. This change is fixing nodejs#164 issue. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489
@romandev sure, would be great :) |
@mhdawson Thank you for reply. I'll check it and write remaining tests. |
kevindavies8
added a commit
to kevindavies8/node-addon-api-Develop
that referenced
this issue
Aug 24, 2022
The warnings occur due to a bug in gcc(<5.1.1)[1]. To fix this issue, we can use constructor initializer instead of empty braces initializer. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 Fixes: nodejs/node-addon-api#164 PR-URL: nodejs/node-addon-api#166 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Marlyfleitas
added a commit
to Marlyfleitas/node-api-addon-Development
that referenced
this issue
Aug 26, 2022
The warnings occur due to a bug in gcc(<5.1.1)[1]. To fix this issue, we can use constructor initializer instead of empty braces initializer. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 Fixes: nodejs/node-addon-api#164 PR-URL: nodejs/node-addon-api#166 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
wroy7860
added a commit
to wroy7860/addon-api-benchmark-node
that referenced
this issue
Sep 19, 2022
The warnings occur due to a bug in gcc(<5.1.1)[1]. To fix this issue, we can use constructor initializer instead of empty braces initializer. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 Fixes: nodejs/node-addon-api#164 PR-URL: nodejs/node-addon-api#166 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
johnfrench3
pushed a commit
to johnfrench3/node-addon-api-git
that referenced
this issue
Aug 11, 2023
The warnings occur due to a bug in gcc(<5.1.1)[1]. To fix this issue, we can use constructor initializer instead of empty braces initializer. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 Fixes: nodejs/node-addon-api#164 PR-URL: nodejs/node-addon-api#166 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a bunch of warnings when I run the tests on linux with
npm test
Would be great to clean these up:
The text was updated successfully, but these errors were encountered: