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

#endif does not have #if ROOT dictionary #242

Open
anthoak13 opened this issue Jun 23, 2024 · 1 comment
Open

#endif does not have #if ROOT dictionary #242

anthoak13 opened this issue Jun 23, 2024 · 1 comment
Assignees

Comments

@anthoak13
Copy link
Member

If you see the error along the lines of G__AtToolsLinkDef dictionary payload:1797:2: error: #endif without #if it likely means on of your header files does not end with a newline.

In that case ROOT shoves the headers together in a way where the #ifndef in the header guard is commented out by the previous header file.

@anthoak13
Copy link
Member Author

An example of this can be seen in #243.

Look into adding a newline to each headfile we pass to rootcling in our CMake scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant