Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove leading underscore from header guard methods. #548
Conversation
This comment has been minimized.
This comment has been minimized.
|
According to http://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier/228797#228797 leading underscores should be avoided.
See our discussion on: http://stackoverflow.com/questions/39291133/how-to-change-header-include-guards-in-rcpp-interfaces/39291326?noredirect=1#comment65919759_39291326 |
|
We have a document Contributing.md which you get reminded about before submitting. Allow me to quote from it:
You didn't. Why? |
|
Oh, I see. I am sorry. There has already been a pull-request: However, this does not fix the “leading underscore” issue. Best, On 02 Sep 2016, at 17:12, Dirk Eddelbuettel <notifications@github.commailto:notifications@github.com> wrote: We have a document Contributing.mdhttps://github.com/RcppCore/Rcpp/blob/master/Contributing.md which you get reminded about before submitting. Allow me to quote from it: Submitting a Pull Request Considering submitting a pull request? It is strongly recommended that you first post an issue outlining some motivation for your pull request to ensure that some discussion around the appropriate resolution for the issue occurs first. You didn't. Why? — |
|
So the polite way to go about this---which happens to be the one we documented and ask you to follow---is to first establish consensus that a change is desired before establishing how to achieve it. And that should precede throwing code over the fence. Sadly, you have done neither, I am tired of this and I am inclined to just close this here. Maybe you get lucky and @jjallaire pipes and blesses your PR. We may even merge it. But please don't take that as encouragement for the still-wrong process you used. |
|
@jjallaire blessed this (in private mail) so with that LGTM (and earlier pushes by @coatless to do the same) I will now give in and merge this... |
According to http://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier/228797#228797 leading underscores should be avoided at all.
See our discussion on: http://stackoverflow.com/questions/39291133/how-to-change-header-include-guards-in-rcpp-interfaces/39291326?noredirect=1#comment65919759_39291326