- **status**: review --> fixed
- **Comment**:
commit ea2a3c604286a300cdab9d999da6d78cfa114b38 (HEAD -> develop,
origin/develop, ticket-3283)
Author: thien.m.huynh <thien.m.hu...@dektech.com.au>
Date: Fri Sep 17 08:34:26 2021 +0700
base: using mutex for test case sysf_ipc_test instead of atomic [#3283]
gcc/g++ version 4.8.x does not support atomic. So that leading to failure
when compiling.
This fix is change the sysf_ipc_test using mutex instead of atomic.
---
** [tickets:#3283] base: sysf_ipc_test compile fail when using gcc version
4.8.5**
**Status:** fixed
**Milestone:** 5.21.12
**Created:** Thu Sep 16, 2021 08:35 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Sep 17, 2021 02:48 AM UTC
**Owner:** Thien Minh Huynh
gcc/g++ 4.8.x does not support atomic.
~~~
src/base/apitest/sysf_ipc_test.c:24:23: fatal error: stdatomic.h: No such file
or directory
#include <stdatomic.h>
^
compilation terminated.
Makefile:13999: recipe for target
'src/base/apitest/bin_basetest-sysf_ipc_test.o' failed
make[4]: *** [src/base/apitest/bin_basetest-sysf_ipc_test.o] Error 1
~~~
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets