Skip to content
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

Fix some more C++ style comments #1236

Closed

Conversation

edhartnett
Copy link
Contributor

@edhartnett edhartnett commented Dec 3, 2018

I added an -ansi build to my CI, and caught the C++ style comments that are fixed in this PR.

None of the nc_test4 tests work with -ansi. All of them segfault in the function NC_rcload().

@DennisHeimbigner not clear what you are doing in this function, but you might want to take a look to see what non-ansi C thing you are doing in there.

Also the ocprint.c program fails. I just did a --disable-dap at this point. (Shouldn't this turn off reading the rc file? Isn't that for DAP only?).

This PR is in the queue behind #1234 and includes that PR. (I will take down this PR because these changes should be reviewed. Once #1234 is merged I will submit this PR again.)

@DennisHeimbigner
Copy link
Collaborator

Interesting note. Cywin with -ansi does not define strdup() (and maybe other
functions because they apparently were not part of the ansi standard.

@edhartnett edhartnett deleted the ejh_fix_up branch February 16, 2019 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants