Error messages
~~~
In file included from /usr/include/string.h:548,
                 from 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/os_defs.h:39,
                 from 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/ncs_osprm.h:193,
                 from 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/hj_edu.c:30:
In function 'memset',
    inlined from 'ncs_edu_free_uba_contents' at 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/hj_edu.c:4344:2,
    inlined from 'ncs_edu_ver_exec' at 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/hj_edu.c:173:3:
/usr/include/bits/string_fortified.h:59:10: error: argument 1 null where 
non-null expected [-Werror=nonnull]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
~~~
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/msg/apitest/test_CapacityThresholds.cc:319:49:
 error: 'thresholds' may be used uninitialized [-Werror=maybe-uninitialized]
  319 |   SaAisErrorT rc(saMsgQueueCapacityThresholdsSet(0xdeadbeef, 
&thresholds));
      |                  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/msg/apitest/msgtest.h:31,
                 from 
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/msg/apitest/test_CapacityThresholds.cc:10:
~~~

~~~
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/tests/getenv_test.cc:81:3:
 error: 'uint64_t' was not declared in this scope
   81 |   uint64_t default_value{0xfefefefefefefefeull};
      |   ^~~~~~~~
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/tests/getenv_test.cc:22:1:
 note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by 
adding '#include <cstdint>'
   21 | #include "gtest/gtest.h"
  +++ |+#include <cstdint>
~~~
~~~
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/tests/sna_test.cc:
 In function 'int test_sna(T)':
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/tests/sna_test.cc:59:17:
 error: 'uint64_t' was not declared in this scope
   59 |                 uint64_t max_value = 0;
      |                 ^~~~~~~~
/home/thang/osaf_test_workdir/srcdir/opensaf-5.25.03/src/base/tests/sna_test.cc:20:1:
 note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by 
adding '#include <cstdint>'
   19 | #include "gtest/gtest.h"
  +++ |+#include <cstdint>
~~~




---

**[tickets:#3368] tool: test.sh script runs failed with gcc14**

**Status:** unassigned
**Milestone:** 5.25.03
**Created:** Mon Mar 31, 2025 07:47 AM UTC by Thang Duc Nguyen
**Last Updated:** Mon Mar 31, 2025 07:47 AM UTC
**Owner:** nobody





---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to