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

Fix typos #193

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Fix typos #193

merged 1 commit into from
Dec 21, 2021

Conversation

DimitriPapadopoulos
Copy link
Contributor

Those were not found by codespell 😃

Those were not found by codespell!
#ifndef BOOST_FILESYSTEM_NO_DEPERECATED
#define BOOST_FILESYSTEM_NO_DEPERECATED
#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
#define BOOST_FILESYSTEM_NO_DEPRECATED
Copy link
Contributor Author

@DimitriPapadopoulos DimitriPapadopoulos Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is BOOST_FILESYSTEM_NO_DEPRECATED still required? I'm asking because BOOST_FILESYSTEM_NO_DEPRECATED was clearly not defined until now, and yet this has been working.

BTW, it is clearly a z5 typo, not a Boost typo, because as far as I can see, BOOST_FILESYSTEM_NO_DEPERECATED has never been used in Boost:
https://github.com/search?q=org%3Aboostorg+BOOST_FILESYSTEM_NO_DEPERECATED
unlike BOOST_FILESYSTEM_NO_DEPRECATED:
https://github.com/search?q=org%3Aboostorg+BOOST_FILESYSTEM_NO_DEPRECATED&type=commits

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably not required anymore since all major builds are using c++17 and std::filesystem now,
Anyway, good to fix this in case some legacy builds with boost filesystem are still around.

Copy link
Contributor Author

@DimitriPapadopoulos DimitriPapadopoulos Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually BOOST_FILESYSTEM_NO_DEPRECATED will disable deprecated parts of the Boost API. I understand this is an internal z5 issue that will not result in z5 API changes. Since all tests still pass, I guess it's OK.

@@ -60,7 +60,7 @@ macro(addPythonModule)

set(options "")
set(oneValueArgs NESTED_NAME)
set(multiValueArgs SOURCES LIBRRARIES)
set(multiValueArgs SOURCES LIBRARIES)
Copy link
Contributor Author

@DimitriPapadopoulos DimitriPapadopoulos Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope this wasn't on purpose...

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not on purpose ;)

@constantinpape
Copy link
Owner

Thanks!

@constantinpape constantinpape merged commit 1ac8fc9 into constantinpape:master Dec 21, 2021
@DimitriPapadopoulos DimitriPapadopoulos deleted the insetead branch December 21, 2021 10:32
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