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

provide NDEBUG version of macro NC_CHECK which does not use code file name #1326

Conversation

edhartnett
Copy link
Contributor

Part of #1323.

Provide NDEBUG version of macro NC_CHECK which does not use code file name.

@DennisHeimbigner
Copy link
Collaborator

The question is: does it fix the problem?

@edhartnett
Copy link
Contributor Author

Well I hope it will fix some of them. @sebastic can you build this branch and see how many of the warnings it clears up?

@sebastic
Copy link
Contributor

It solved the issue for nccopy & ncdump, the issues in the other files remain.

DennisHeimbigner added a commit that referenced this pull request Feb 17, 2019
re: issue #1323
    and PR #1326

Replace the uses of the __FILE__ macro in ncgen with the
constant string "ncgen" in order to keep external package
builders (like Debian) happy.

Note that __FILE__ will still appear in ncgen generated C code
files, but this should be ok since it is not part of the distro
per-se.
@WardF WardF merged commit c0d24c8 into Unidata:master Mar 8, 2019
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.

4 participants