oatpp / oatpp-openssl

OpenSSL adaptor for Oat++ applications

Home Page:https://oatpp.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not compile on modern MinGW

neheb opened this issue · comments

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.

looks like oatpp/oatpp@809b3fb was incomplete.