New commits:
commit 943ae66144f292ab915918ccb94257af850abadf
Author: Daiki Ueno <[email protected]>
Date:   Thu Jan 30 17:00:10 2025 +0900

    testing: make jambufcheck compile with GCC 15
    
    Previously, when compiled with GCC 15, it fails with:
    
      libreswan-5.1/testing/programs/jambufcheck/jambufcheck.c:36:34: error: 
initializer-string for array of ‘char’ is too long 
[-Werror=unterminated-string-initialization]
         36 |                 char array[12] = "abcdefghijkl";
            |                                  ^~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
    
    The relevant code really needs to initialize `array` with 12 elements (10
    characters + NUL + SENTINEL), but with a "..." initializer it
    a NUL character is automatically appended at the end. This patch
    switches to using a {...} to initialize the array.
    
    Signed-off-by: Daiki Ueno <[email protected]>
    Signed-off-by: Andrew Cagney <[email protected]>
    Merge ueno:wip/c23

_______________________________________________
Swan-commit mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to