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

Initializer in verbatim section should produce a warning #16

Closed
benkasminbullock opened this issue Apr 19, 2017 · 1 comment
Closed

Comments

@benkasminbullock
Copy link
Owner

#if HEADER
int j = 10;
#endif

should produce a warning, since the user probably did not intend to have the initializer copied in to the header, and it will be deleted from the C file compilation due to the wrapper.

@benkasminbullock
Copy link
Owner Author

This was resolved with the following commit:

commit d75c086
Author: Ben Bullock benkasminbullock@gmail.com
Date: Fri Apr 28 13:05:11 2017 +0900

Produce error upon finding initialisers in verbatim copying

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

No branches or pull requests

1 participant