[ 
https://issues.apache.org/jira/browse/IGNITE-27407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitrii Zabotlin updated IGNITE-27407:
--------------------------------------
    Ignite Flags: Release Notes Required
    Release Note: C++ client compilation fixed for gcc-15 compiler. 

> C++ 3.0: Fix compilation with gcc-15
> ------------------------------------
>
>                 Key: IGNITE-27407
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27407
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms ai3
>    Affects Versions: 3.1
>            Reporter: Dmitrii Zabotlin
>            Assignee: Dmitrii Zabotlin
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> GCC-15 introduces new warning unterminated-string-initialization
> Which in combination with Werror produces errors:
> {code:java}
> ignite-3/modules/platforms/build/cpp/_deps/mbedtls-src/library/ssl_tls13_keys.h:14:40:
>  error: initializer-string for array of ‘unsigned char’ truncates NUL 
> terminator but destination lacks ‘nonstring’ attribute (9 chars into 8 
> available) [-Werror=unterminated-string-initialization]
>    14 |     MBEDTLS_SSL_TLS1_3_LABEL(finished, "finished") \
>       |                                        ^~~~~~~~~~
> ignite-3/modules/platforms/build/cpp/_deps/mbedtls-src/library/ssl_tls13_keys.c:38:13:
>  note: in definition of macro ‘MBEDTLS_SSL_TLS1_3_LABEL’
>    38 |     .name = string,
>       |             ^~~~~~
> ignite-3/modules/platforms/build/cpp/_deps/mbedtls-src/library/ssl_tls13_keys.c:44:5:
>  note: in expansion of macro ‘MBEDTLS_SSL_TLS1_3_LABEL_LIST’
>    44 |     MBEDTLS_SSL_TLS1_3_LABEL_LIST {code}
> This could be solved with MbedTLS upgrade to the version 4.0.0. This problem 
> is fixed there already.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to