From: Aschref Ben Thabet <aschref.ben-tha...@embedded-brains.de> Key_ID array must have the right size, it shall have a value greater than zero. Note: In Standard C and C++, zero-size array is not allowed.. --- testsuites/psxtests/psxkey01/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/psxtests/psxkey01/system.h b/testsuites/psxtests/psxkey01/system.h index 02d98b7623..186e1b71f0 100644 --- a/testsuites/psxtests/psxkey01/system.h +++ b/testsuites/psxtests/psxkey01/system.h @@ -41,7 +41,7 @@ #endif TEST_EXTERN pthread_t Init_id; -TEST_EXTERN pthread_key_t Key_id[CONFIGURE_MAXIMUM_POSIX_KEYS - 1]; +TEST_EXTERN pthread_key_t Key_id[ CONFIGURE_MAXIMUM_POSIX_KEYS ]; TEST_EXTERN uint32_t Data_array[ CONFIGURE_MAXIMUM_TASKS ]; #undef TEST_EXTERN -- 2.26.2 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel