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

does not compile on modern MinGW #25

Open
neheb opened this issue Dec 3, 2023 · 1 comment
Open

does not compile on modern MinGW #25

neheb opened this issue Dec 3, 2023 · 1 comment

Comments

@neheb
Copy link

neheb commented Dec 3, 2023

2023-12-03T01:33:55.2435786Z ../../../../wrapdb/wrapdb/subprojects/oatpp-openssl-1.3.0/test/oatpp-openssl/FullAsyncTest.cpp:78:77: error: expected unqualified-id
2023-12-03T01:33:55.2437368Z    78 |       OATPP_COMPONENT(std::shared_ptr<oatpp::network::virtual_::Interface>, interface);
2023-12-03T01:33:55.2438306Z       |                                                                             ^
2023-12-03T01:33:55.2439372Z D:/a/_temp/msys64/clang32/include/rpc.h:12:19: note: expanded from macro 'interface'
2023-12-03T01:33:55.2440240Z    12 | #define interface struct
2023-12-03T01:33:55.2440694Z       |                   ^
2023-12-03T01:33:55.2441943Z ../../../../wrapdb/wrapdb/subprojects/oatpp-openssl-1.3.0/test/oatpp-openssl/FullAsyncTest.cpp:79:91: error: expected expression
2023-12-03T01:33:55.2443683Z    79 |       streamProvider = oatpp::network::virtual_::server::ConnectionProvider::createShared(interface);
2023-12-03T01:33:55.2444720Z       |                                                                                           ^
2023-12-03T01:33:55.2445783Z D:/a/_temp/msys64/clang32/include/rpc.h:12:19: note: expanded from macro 'interface'
2023-12-03T01:33:55.2446647Z    12 | #define interface struct
2023-12-03T01:33:55.2447099Z       |                   ^
2023-12-03T01:33:55.2448377Z ../../../../wrapdb/wrapdb/subprojects/oatpp-openssl-1.3.0/test/oatpp-openssl/FullAsyncTest.cpp:111:77: error: expected unqualified-id
2023-12-03T01:33:55.2449963Z   111 |       OATPP_COMPONENT(std::shared_ptr<oatpp::network::virtual_::Interface>, interface);
2023-12-03T01:33:55.2450886Z       |                                                                             ^
2023-12-03T01:33:55.2451932Z D:/a/_temp/msys64/clang32/include/rpc.h:12:19: note: expanded from macro 'interface'
2023-12-03T01:33:55.2452797Z    12 | #define interface struct
2023-12-03T01:33:55.2453245Z       |                   ^
2023-12-03T01:33:55.2454493Z ../../../../wrapdb/wrapdb/subprojects/oatpp-openssl-1.3.0/test/oatpp-openssl/FullAsyncTest.cpp:112:91: error: expected expression
2023-12-03T01:33:55.2456239Z   112 |       streamProvider = oatpp::network::virtual_::client::ConnectionProvider::createShared(interface);
2023-12-03T01:33:55.2457289Z       |                                                                                           ^
2023-12-03T01:33:55.2458340Z D:/a/_temp/msys64/clang32/include/rpc.h:12:19: note: expanded from macro 'interface'
2023-12-03T01:33:55.2459209Z    12 | #define interface struct

rpc.h has a definition of interface that needs to be undefined.

@neheb
Copy link
Author

neheb commented Dec 3, 2023

looks like oatpp/oatpp@809b3fb was incomplete.

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

No branches or pull requests

1 participant