Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upsrc: fix NODE_DEPRECATED macro with old compilers #1626
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
/cc @misterdjules |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
lgtm, I think, perhaps R=@koopa |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
trevnorris
May 5, 2015
Contributor
I'd like to see the \ pushed out to the end, style-wise, but LGTM.
|
I'd like to see the |
mscdex
added
build
C++
labels
May 5, 2015
mscdex
removed
the
build
label
May 5, 2015
bnoordhuis
closed this
May 5, 2015
bnoordhuis
merged commit b712af7
into
nodejs:master
May 5, 2015
bnoordhuis
deleted the
bnoordhuis:fix-deprecation-macro
branch
May 5, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bnoordhuis
May 5, 2015
Member
Two LGTMs should be enough, right? Landed with style adjustments in b712af7, thanks for the review.
|
Two LGTMs should be enough, right? Landed with style adjustments in b712af7, thanks for the review. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
awesome. thanks. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
silverwind
May 6, 2015
Contributor
@bnoordhuis there are a few linter warnings introduced here:
src/node.h:51: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
src/node.h:59: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
|
@bnoordhuis there are a few linter warnings introduced here:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Well, ain't that annoying. #1640 |
misterdjules
referenced this pull request
May 7, 2015
Open
backport NODE_DEPRECATED fixes from io.js #25267
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tojocky
May 12, 2015
Why not to use message in MSC as well: "__declspec(deprecated(message)) declarator"?
Seems this is possible: https://msdn.microsoft.com/en-us/library/044swk7y.aspx
tojocky
commented on src/node.h in b712af7
May 12, 2015
|
Why not to use message in MSC as well: "__declspec(deprecated(message)) declarator"? |
bnoordhuis commentedMay 5, 2015
The
__attribute__((deprecated("warning")))macro didn't exist untilgcc 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?