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

source-flattener omitting closing brace of extern "C" {... directive #12

Open
mike-a-smith opened this issue Dec 1, 2016 · 0 comments

Comments

@mike-a-smith
Copy link

The source-flattener.py script is omitting the closing brace of the extern "C" { directive. The directive then encloses any C++ source code where the flattened erfa.h is included and breaks compilation.

The end of the flattened erfa.h should look like the following:

...
void eraS2xpv(double s1, double s2, double pv[2][3], double spv[2][3]);
void eraSxp(double s, double p[3], double sp[3]);
void eraSxpv(double s, double pv[2][3], double spv[2][3]);

#ifdef __cplusplus
}
#endif

#endif
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