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

Update poco to 1.14.0 #6177

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Conversation

heheda123123
Copy link
Contributor

No description provided.

@heheda123123
Copy link
Contributor Author

heheda123123 commented Jan 18, 2025

这报错很眼熟,经常出现,是因为啥来着?c++版本设置的问题?

error: /__w/xmake-repo/xmake-repo/packages/p/poco/xmake.lua:247: ...amdir/core/sandbox/modules/import/core/tool/compiler.lua:84: @programdir/modules/core/tools/gcc.lua:966: /github/home/.xmake/packages/p/poco/1.14.0/c4ff1b286d9841ee8f09491a6fe725d1/include/Poco/Types.h:90:27: error: ‘abi’ has not been declared
   90 |         char* demangled = abi::__cxa_demangle(typeName, nullptr, nullptr, &status);
      |                           ^~~
/github/home/.xmake/packages/p/poco/1.14.0/c4ff1b286d9841ee8f09491a6fe725d1/include/Poco/Types.h: In function ‘std::string Poco::demangle()’:
/github/home/.xmake/packages/p/poco/1.14.0/c4ff1b286d9841ee8f09491a6fe725d1/include/Poco/Types.h:115:33: error: must ‘#include <typeinfo>’ before using ‘typeid’
   22 | #include <cstdint>
  +++ |+#include <typeinfo>
   23 | #include <type_traits>
......
  115 |         return demangle(typeid(T).name());
      |                                 ^
/github/home/.xmake/packages/p/poco/1.14.0/c4ff1b286d9841ee8f09491a6fe725d1/include/Poco/Types.h: In function ‘std::string Poco::demangle(const T&)’:
/github/home/.xmake/packages/p/poco/1.14.0/c4ff1b286d9841ee8f09491a6fe725d1/include/Poco/Types.h:122:89: error: must ‘#include <typeinfo>’ before using ‘typeid’
  122 |         return demangle(typeid(std::remove_const_t<std::remove_reference_t<decltype(t)>>).name());
      |                                                                                         ^

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.

1 participant