Skip to content

Conversation

@MeanSquaredError
Copy link
Contributor

As per our previous discussion here #500
this PR replaces the header include guards with #pragma once in all header files and in the python generator scripts. All tests (core+postgresql+mysql+sqlite3) ran successfully.

The #pragma once is not standard but is supported by all major C++ compilers and easier to maintain than the old-style #ifndef #define...#endif include guards.

@rbock rbock merged commit a085d73 into rbock:main Jul 25, 2023
@rbock
Copy link
Owner

rbock commented Jul 25, 2023

Thanks! I hope you did automate this change :-)

@MeanSquaredError
Copy link
Contributor Author

I did automate the change, but then had to go manually over all the files just to make sure that the regular expressions in my script updated the files correctly :-)

@MeanSquaredError MeanSquaredError deleted the pragma_once branch July 26, 2023 21:09
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