Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 7f351a5158dbfeca62f3b2113702fc443a560f26 https://github.com/OpenAMP/libmetal/commit/7f351a5158dbfeca62f3b2113702fc443... Author: Yongrong Wang wangyongrong@xiaomi.com Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths: M lib/atomic.h M lib/compiler.h M lib/errno.h
Log Message: ----------- lib: fix compile error
lib/errno.h: defined(__ARMCC_VERSION) for use GCC compile lib/autmoic:fix compiler error: nuttx/include/metal/compiler/gcc/atomic.h:19:13: error: conflicting type qualifiers for 'atomic_flag' 19 | typedef int atomic_flag; | ^~~~~~~~~~~ In file included from nuttx/include/nuttx/net/netdev_lowerhalf.h:38, from virtio/virtio-net.c:33: prebuilts/gcc/linux/arm/lib/gcc/arm-none-eabi/13.2.1/include/ stdatomic.h:233:3: note: previous declaration of 'atomic_flag' with type 'atomic_flag' 233 | } atomic_flag; | ^~~~~~~~~~~ nuttx/include/metal/compiler/gcc/atomic.h:20:14: error: conflicting type qualifiers for 'atomic_char' 20 | typedef char atomic_char; ^~~~~~~~~~~
Signed-off-by: Yongrong Wang wangyongrong@xiaomi.com
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
openamp-rp@lists.openampproject.org