Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

chore: silence deprecation warnings that appear with gcc 8#424

Merged
kalyanac merged 2 commits intogoogleapis:masterfrom
nolanmar511:silence-dep
Feb 25, 2019
Merged

chore: silence deprecation warnings that appear with gcc 8#424
kalyanac merged 2 commits intogoogleapis:masterfrom
nolanmar511:silence-dep

Conversation

@nolanmar511
Copy link
Copy Markdown
Contributor

@nolanmar511 nolanmar511 commented Feb 25, 2019

nodejs/nan#807 (comment) recommends using the "-Wno-cast-function-type" to silence deprecations warnings that appear with GCC 8.

Silences warnings users see in #315.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 25, 2019
@nolanmar511 nolanmar511 changed the title chore: silence ubuntu deprecation warnings chore: silence deprecation warnings that appear with gcc 8 Feb 25, 2019
@kalyanac kalyanac merged commit bd8548d into googleapis:master Feb 25, 2019
@nolanmar511 nolanmar511 deleted the silence-dep branch February 25, 2019 20:59
Comment thread binding.gyp
],
"include_dirs": [ "<!(node -e \"require('nan')\")" ]
"include_dirs": [ "<!(node -e \"require('nan')\")" ],
"cflags": [ "-Wno-cast-function-type" ]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to add a comment here on why it's added.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
#428

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants