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

'nullptr_t' usage. #4465

Closed
danny-mhlv opened this issue Feb 19, 2024 · 1 comment
Closed

'nullptr_t' usage. #4465

danny-mhlv opened this issue Feb 19, 2024 · 1 comment

Comments

@danny-mhlv
Copy link

Describe the bug
When trying to build POCO compiler throws an error:
Unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?

Expected behavior
POCO build is completed successfully.

Logs
Build logs:

[build] ../myproject/thirdparty/poco/Foundation/include/Poco/Any.h:563:2: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
         poco_static_assert_ptr(ValueType);
         ^
[build] ../myproject/thirdparty/poco/Foundation/include/Poco/Bugcheck.h:173:20: note: expanded from macro 'poco_static_assert_ptr'
         std::is_same_v<T, nullptr_t> || \
                           ^
[build] /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/c++config.h:302:29: note: 'std::nullptr_t' declared here
   typedef decltype(nullptr)     nullptr_t;

Please add relevant environment information:

  • Ubuntu 22.04.3 LTS | 64bit
  • POCO Version: Commit 88be669

Additional context
I'm not sure about the exact commit it broke like that, because I'm using POCO as a submodule and did not update it in a while.

@danny-mhlv danny-mhlv added the bug label Feb 19, 2024
@aleks-f aleks-f added development and removed bug labels Feb 19, 2024
aleks-f added a commit that referenced this issue Feb 19, 2024
@aleks-f aleks-f added the fixed label Feb 19, 2024
@danny-mhlv
Copy link
Author

Thank you for the quick resolution on this issue!

@aleks-f aleks-f closed this as completed Feb 19, 2024
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

2 participants