Skip to content

Conversation

bnoordhuis
Copy link
Member

The __attribute__((deprecated("warning"))) macro didn't exist until
gcc 4.5 and clang 2.9.

While io.js does not build with compilers that old, add-ons do. Let's
make src/node.h compatible with such compilers, it's a public header.

Refs: #1619

R=@trevnorris?

@bnoordhuis
Copy link
Member Author

/cc @misterdjules

@rvagg
Copy link
Member

rvagg commented May 5, 2015

lgtm, I think, perhaps R=@koopa

@trevnorris
Copy link
Contributor

I'd like to see the \ pushed out to the end, style-wise, but LGTM.

@mscdex mscdex added build Issues and PRs related to build files or the CI. c++ Issues and PRs that require attention from people who are familiar with C++. labels May 5, 2015
The `__attribute__((deprecated("warning")))` macro didn't exist until
gcc 4.5 and clang 2.9.

While io.js does not build with compilers that old, add-ons do.  Let's
make src/node.h compatible with such compilers, it's a public header.

PR-URL: nodejs#1626
Refs: nodejs#1619
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
@mscdex mscdex removed the build Issues and PRs related to build files or the CI. label May 5, 2015
@bnoordhuis bnoordhuis force-pushed the fix-deprecation-macro branch from 347f4b2 to b712af7 Compare May 5, 2015 16:52
@bnoordhuis bnoordhuis closed this May 5, 2015
@bnoordhuis bnoordhuis merged commit b712af7 into nodejs:master May 5, 2015
@bnoordhuis bnoordhuis deleted the fix-deprecation-macro branch May 5, 2015 16:52
@bnoordhuis
Copy link
Member Author

Two LGTMs should be enough, right? Landed with style adjustments in b712af7, thanks for the review.

@trevnorris
Copy link
Contributor

awesome. thanks.

@rvagg rvagg mentioned this pull request May 5, 2015
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request May 19, 2015
The `__attribute__((deprecated("warning")))` macro didn't exist until
gcc 4.5 and clang 2.9.

While io.js does not build with compilers that old, add-ons do.  Let's
make src/node.h compatible with such compilers, it's a public header.

PR-URL: nodejs#1626
Refs: nodejs#1619
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
MylesBorins added a commit that referenced this pull request Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants