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

Perhaps require appropriate C standard? Pre-C11 compiler fails: picotls.c: error: ‘ptls_handshake_properties_t’ has no member named ‘client’ #505

Open
barracuda156 opened this issue Dec 15, 2023 · 0 comments

Comments

@barracuda156
Copy link

Pre-C11 gcc-4.2 fails to build it very fast. mbedtls3 is installed.

:info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/mbedtls.c:33:
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/include/picotls.h:1081: warning: declaration does not declare anything
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c: In function ‘encode_client_hello’:
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2125: warning: unused variable ‘ext_payload_from’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2125: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2125: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2125: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c: In function ‘send_client_hello’:
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2316: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2318: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2330: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2335: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2336: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2336: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2337: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2342: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2343: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2344: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2350: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2351: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2353: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2354: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2355: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2360: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2366: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2388: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2388: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2390: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2409: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2410: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2412: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2442: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2443: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2445: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2462: error: ‘ptls_handshake_properties_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2476: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c: In function ‘decode_server_hello’:
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2558: error: ‘struct st_ptls_server_hello_t’ has no member named ‘retry_request’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2561: error: ‘struct st_ptls_server_hello_t’ has no member named ‘retry_request’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2561: error: ‘struct st_ptls_server_hello_t’ has no member named ‘peerkey’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2561: error: ‘struct st_ptls_server_hello_t’ has no member named ‘retry_request’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2561: error: ‘struct st_ptls_server_hello_t’ has no member named ‘retry_request’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2631: error: ‘ptls_t’ has no member named ‘client’
:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-df13092f6c5c2f08c5227e096a1590603229dfc8/lib/picotls.c:2641: error: ‘struct st_ptls_server_hello_t’ has no member named ‘peerkey’
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