mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
string/lib_memmove.c:39:1: warning: optimization attribute on 'memmove' follows definition but the attribute doesn't match [-Wattributes]
39 | {
| ^
In file included from string/lib_memmove.c:27:
nuttx/include/string.h:177:37: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, unsigned int)'}
177 | fortify_function(memmove) FAR void *memmove(FAR void *dest,
| ^~~~~~~
string/lib_memset.c:55:1: warning: optimization attribute on 'memset' follows definition but the attribute doesn't match [-Wattributes]
55 | {
| ^
In file included from string/lib_memset.c:30:
nuttx/include/string.h:194:36: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, unsigned int)'}
194 | fortify_function(memset) FAR void *memset(FAR void *s, int c, size_t n)
| ^~~~~~
CC: unistd/lib_sysconf.c string/lib_memcpy.c:43:1: warning: optimization attribute on 'memcpy' follows definition but the attribute doesn't match [-Wattributes]
43 | {
| ^
In file included from string/lib_memcpy.c:27:
nuttx/include/string.h:186:36: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, unsigned int)'}
186 | fortify_function(memcpy) FAR void *memcpy(FAR void *dest,
|
Signed-off-by: chao an <anchao@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| 1wire | ||
| analog | ||
| audio | ||
| binfmt | ||
| can | ||
| clk | ||
| contactless | ||
| crypto | ||
| dma | ||
| drivers | ||
| eeprom | ||
| efuse | ||
| fs | ||
| himem | ||
| hwspinlock | ||
| i2c | ||
| input | ||
| ioexpander | ||
| lcd | ||
| leds | ||
| lib | ||
| math | ||
| mbox | ||
| mm | ||
| modem | ||
| motor | ||
| mtd | ||
| net | ||
| note | ||
| nx | ||
| power | ||
| rc | ||
| rf | ||
| rptun | ||
| segger | ||
| sensors | ||
| serial | ||
| spi | ||
| syslog | ||
| timers | ||
| usb | ||
| usrsock | ||
| video | ||
| virtio | ||
| wireless | ||
| .gitignore | ||
| addrenv.h | ||
| allsyms.h | ||
| arch.h | ||
| ascii.h | ||
| atexit.h | ||
| board.h | ||
| cache.h | ||
| can.h | ||
| cancelpt.h | ||
| clock.h | ||
| compiler.h | ||
| crc8.h | ||
| crc16.h | ||
| crc32.h | ||
| crc64.h | ||
| elf.h | ||
| environ.h | ||
| envpath.h | ||
| fdcheck.h | ||
| hashtable.h | ||
| init.h | ||
| ipcc.h | ||
| irq.h | ||
| kmalloc.h | ||
| kthread.h | ||
| lirc.h | ||
| list.h | ||
| mmcsd.h | ||
| module.h | ||
| mqueue.h | ||
| mutex.h | ||
| notifier.h | ||
| nuttx.h | ||
| page.h | ||
| panic_notifier.h | ||
| pgalloc.h | ||
| progmem.h | ||
| pthread.h | ||
| queue.h | ||
| random.h | ||
| reboot_notifier.h | ||
| sched.h | ||
| sched_note.h | ||
| scsi.h | ||
| sdio.h | ||
| semaphore.h | ||
| signal.h | ||
| spawn.h | ||
| spinlock.h | ||
| streams.h | ||
| symtab.h | ||
| tls.h | ||
| trace.h | ||
| userspace.h | ||
| vt100.h | ||
| wdog.h | ||
| wqueue.h | ||
| zoneinfo.h | ||