Dear SeaBIOS folks,
building SeaBIOS commit 67643955 (make SeaBios compatible with Xen
vTPM.) for coreboot with the attached configuration with GCC 5.1.1, (CPP
4.9) the following warnings are printed.
$ gcc-5 --version
gcc-5 (Debian 5.1.1-7) 5.1.1 20150522
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
$ CC=gcc-5 make
Build Kconfig config file
Compile checking out/src/misc.o
In file included from src/misc.c:13:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/stacks.o
Compile checking out/src/output.o
In file included from src/output.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/string.o
Compile checking out/src/block.o
In file included from src/block.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^$ CC=gcc-5 make
Build Kconfig config file
Compile checking out/src/misc.o
In file included from src/misc.c:13:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/stacks.o
Compile checking out/src/output.o
In file included from src/output.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/string.o
Compile checking out/src/block.o
In file included from src/block.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/cdrom.o
In file included from src/cdrom.c:16:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/disk.o
In file included from src/disk.c:16:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/mouse.o
In file included from src/mouse.c:11:0:
src/hw/usb-hid.h:10:12: warning: inline function
'usb_mouse_command' declared but never defined
inline int usb_mouse_command(int command, u8 *param);
^
src/hw/usb-hid.h:9:12: warning: inline function
'usb_mouse_active' declared but never defined
inline int usb_mouse_active(void);
^
src/hw/usb-hid.h:8:12: warning: inline function
'usb_kbd_command' declared but never defined
inline int usb_kbd_command(int command, u8 *param);
^
src/hw/usb-hid.h:7:12: warning: inline function 'usb_kbd_active'
declared but never defined
inline int usb_kbd_active(void);
^
Compile checking out/src/kbd.o
In file included from src/kbd.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
In file included from src/kbd.c:12:0:
src/hw/usb-hid.h:10:12: warning: inline function
'usb_mouse_command' declared but never defined
inline int usb_mouse_command(int command, u8 *param);
^
src/hw/usb-hid.h:9:12: warning: inline function
'usb_mouse_active' declared but never defined
inline int usb_mouse_active(void);
^
src/hw/usb-hid.h:8:12: warning: inline function
'usb_kbd_command' declared but never defined
inline int usb_kbd_command(int command, u8 *param);
^
src/hw/usb-hid.h:7:12: warning: inline function 'usb_kbd_active'
declared but never defined
inline int usb_kbd_active(void);
^
Compile checking out/src/system.o
In file included from src/system.c:14:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/serial.o
Compile checking out/src/clock.o
In file included from src/clock.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
In file included from src/clock.c:12:0:
src/hw/usb-hid.h:10:12: warning: inline function
'usb_mouse_command' declared but never defined
inline int usb_mouse_command(int command, u8 *param);
^
src/hw/usb-hid.h:9:12: warning: inline function
'usb_mouse_active' declared but never defined
inline int usb_mouse_active(void);
^
src/hw/usb-hid.h:8:12: warning: inline function
'usb_kbd_command' declared but never defined
inline int usb_kbd_command(int command, u8 *param);
^
src/hw/usb-hid.h:7:12: warning: inline function 'usb_kbd_active'
declared but never defined
inline int usb_kbd_active(void);
^
Compile checking out/src/resume.o
In file included from src/resume.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/pnpbios.o
In file included from src/pnpbios.c:11:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/vgahooks.o
In file included from src/vgahooks.c:14:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/pcibios.o
In file included from src/pcibios.c:14:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/apm.o
Compile checking out/src/hw/pci.o
In file included from src/hw/pci.c:13:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/timer.o
Compile checking out/src/hw/rtc.o
Compile checking out/src/hw/dma.o
Compile checking out/src/hw/pic.o
Compile checking out/src/hw/ps2port.o
Compile checking out/src/hw/serialio.o
Compile checking out/src/hw/usb.o
In file included from src/hw/usb.c:15:0:
src/hw/usb-hid.h:10:12: warning: inline function
'usb_mouse_command' declared but never defined
inline int usb_mouse_command(int command, u8 *param);
^
src/hw/usb-hid.h:9:12: warning: inline function
'usb_mouse_active' declared but never defined
inline int usb_mouse_active(void);
^
src/hw/usb-hid.h:8:12: warning: inline function
'usb_kbd_command' declared but never defined
inline int usb_kbd_command(int command, u8 *param);
^
src/hw/usb-hid.h:7:12: warning: inline function 'usb_kbd_active'
declared but never defined
inline int usb_kbd_active(void);
^
In file included from src/hw/usb.c:11:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-uhci.o
In file included from src/hw/usb-uhci.c:14:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-ohci.o
In file included from src/hw/usb-ohci.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-ehci.o
In file included from src/hw/usb-ehci.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-hid.o
In file included from src/biosvar.h:10:0,
from src/hw/usb-hid.c:7:
src/biosvar.h:101:48: warning: 'get_global_offset' is static but
used in inline function 'usb_mouse_active' which is not static
+
get_global_offset()))
^
src/farptr.h:183:28: note: in definition of macro 'GET_VAR'
#define GET_VAR(seg, var) (var)
^
src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
src/biosvar.h:101:48: warning: 'get_global_offset' is static but
used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
src/farptr.h:183:28: note: in definition of macro 'GET_VAR'
#define GET_VAR(seg, var) (var)
^
src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
Compile checking out/src/hw/usb-msc.o
In file included from src/hw/usb-msc.c:14:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-uas.o
In file included from src/hw/usb-uas.c:24:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/blockcmd.o
In file included from src/hw/blockcmd.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/floppy.o
In file included from src/hw/floppy.c:21:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/ata.o
In file included from src/hw/ata.c:21:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/ramdisk.o
In file included from src/hw/ramdisk.c:16:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/virtio-ring.o
Compile checking out/src/hw/virtio-pci.o
In file included from src/hw/virtio-pci.c:23:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/virtio-blk.o
In file included from src/hw/virtio-blk.c:19:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/virtio-scsi.o
In file included from src/hw/virtio-scsi.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/lsi-scsi.o
In file included from src/hw/lsi-scsi.c:24:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/esp-scsi.o
In file included from src/hw/esp-scsi.c:24:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/megasas.o
In file included from src/hw/megasas.c:24:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/post.o
In file included from src/post.c:29:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/memmap.o
In file included from src/memmap.c:10:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/malloc.o
In file included from src/malloc.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/romfile.o
In file included from src/romfile.c:11:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/x86.o
Compile checking out/src/optionroms.o
In file included from src/optionroms.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/pmm.o
In file included from src/pmm.c:12:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/font.o
Compile checking out/src/boot.o
In file included from src/boot.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/bootsplash.o
In file included from src/bootsplash.c:16:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/jpeg.o
In file included from src/jpeg.c:44:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/bmp.o
In file included from src/bmp.c:10:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/tcgbios.o
In file included from src/tcgbios.c:19:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/sha1.o
In file included from src/sha1.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/ahci.o
In file included from src/hw/ahci.c:18:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/pvscsi.o
In file included from src/hw/pvscsi.c:20:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-xhci.o
In file included from src/hw/usb-xhci.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/usb-hub.o
In file included from src/hw/usb-hub.c:9:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/sdcard.o
In file included from src/hw/sdcard.c:16:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/coreboot.o
In file included from src/fw/coreboot.c:18:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/lzmadecode.o
Compile checking out/src/fw/csm.o
Compile checking out/src/fw/biostables.o
In file included from src/fw/biostables.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/paravirt.o
In file included from src/fw/paravirt.c:22:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/shadow.o
In file included from src/fw/shadow.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/pciinit.o
In file included from src/fw/pciinit.c:22:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/smm.o
In file included from src/fw/smm.c:17:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/smp.o
Compile checking out/src/fw/mtrr.o
Compile checking out/src/fw/xen.o
In file included from src/fw/xen.c:13:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compiling IASL out/src/fw/acpi-dsdt.hex
ASL Input: out/src/fw/acpi-dsdt.dsl.i - 474 lines, 19153
bytes, 315 keywords
AML Output: out/src/fw/acpi-dsdt.aml - 4405 bytes, 159 named
objects, 156 executable opcodes
Listing File: out/src/fw/acpi-dsdt.lst - 142995 bytes
Hex Dump: out/src/fw/acpi-dsdt.hex - 41648 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 245
Optimizations
Compiling IASL out/src/fw/ssdt-proc.hex
ASL Input: out/src/fw/ssdt-proc.dsl.i - 35 lines, 762 bytes,
8 keywords
AML Output: out/src/fw/ssdt-proc.aml - 120 bytes, 6 named
objects, 2 executable opcodes
Listing File: out/src/fw/ssdt-proc.lst - 2642 bytes
Hex Dump: out/src/fw/ssdt-proc.hex - 1446 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0
Optimizations
Compiling IASL out/src/fw/ssdt-pcihp.hex
ASL Input: out/src/fw/ssdt-pcihp.dsl.i - 36 lines, 758
bytes, 5 keywords
AML Output: out/src/fw/ssdt-pcihp.aml - 87 bytes, 5 named
objects, 0 executable opcodes
Listing File: out/src/fw/ssdt-pcihp.lst - 2337 bytes
Hex Dump: out/src/fw/ssdt-pcihp.hex - 1147 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0
Optimizations
Compiling IASL out/src/fw/ssdt-misc.hex
ASL Input: out/src/fw/ssdt-misc.dsl.i - 101 lines, 2567
bytes, 35 keywords
AML Output: out/src/fw/ssdt-misc.aml - 354 bytes, 24 named
objects, 11 executable opcodes
Listing File: out/src/fw/ssdt-misc.lst - 7646 bytes
Hex Dump: out/src/fw/ssdt-misc.hex - 3697 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 2
Optimizations
Compiling IASL out/src/fw/q35-acpi-dsdt.hex
ASL Input: out/src/fw/q35-acpi-dsdt.dsl.i - 514 lines, 28284
bytes, 413 keywords
AML Output: out/src/fw/q35-acpi-dsdt.aml - 7344 bytes, 239
named objects, 174 executable opcodes
Listing File: out/src/fw/q35-acpi-dsdt.lst - 255956 bytes
Hex Dump: out/src/fw/q35-acpi-dsdt.hex - 69177 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 445
Optimizations
Compile checking out/src/fw/acpi.o
In file included from src/fw/acpi.c:21:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/mptable.o
In file included from src/fw/mptable.c:16:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/pirtable.o
In file included from src/fw/pirtable.c:12:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/smbios.o
In file included from src/fw/smbios.c:15:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/fw/romfile_loader.o
In file included from src/fw/romfile_loader.c:4:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compile checking out/src/hw/tpm_drivers.o
In file included from src/hw/tpm_drivers.c:11:0:
src/string.h:18:13: warning: inline function 'memcpy_far'
declared but never defined
inline void memcpy_far(u16 d_seg, void *d_far
^
src/string.h:15:13: warning: inline function 'memset16_far'
declared but never defined
inline void memset16_far(u16 d_seg, void *d_far, u16 c, size_t
len);
^
src/string.h:14:13: warning: inline function 'memset_far'
declared but never defined
inline void memset_far(u16 d_seg, void *d_far, u8 c, size_t
len);
^
Compiling whole program out/ccode32flat.o
In file included from ./src/biosvar.h:10:0,
from ./src/misc.c:8,
from out/ccode32flat.o.tmp.c:1:
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_mouse_active' which is not
static
+
get_global_offset()))
^
./src/farptr.h:183:28: note: in definition of macro 'GET_VAR'
#define GET_VAR(seg, var) (var)
^
./src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
./src/farptr.h:183:28: note: in definition of macro 'GET_VAR'
#define GET_VAR(seg, var) (var)
^
./src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
Compiling whole program out/code32seg.o
In file included from ./src/string.c:9:0,
from out/code32seg.o.tmp.c:1:
./src/farptr.h:102:5: warning: '__set_seg_ES' is static but used
in inline function 'memcpy_far' which is not static
__set_seg_##SEG(value)
^
./src/farptr.h:146:29: note: in expansion of macro '__SET_SEG'
#define SET_SEG(SEG, value) __SET_SEG(SEG, (value))
^
./src/string.c:129:5: note: in expansion of macro 'SET_SEG'
SET_SEG(ES, d_seg);
^
./src/farptr.h:102:5: warning: '__set_seg_ES' is static but used
in inline function 'memset16_far' which is not static
__set_seg_##SEG(value)
^
./src/farptr.h:146:29: note: in expansion of macro '__SET_SEG'
#define SET_SEG(SEG, value) __SET_SEG(SEG, (value))
^
./src/string.c:101:5: note: in expansion of macro 'SET_SEG'
SET_SEG(ES, d_seg);
^
./src/farptr.h:102:5: warning: '__set_seg_ES' is static but used
in inline function 'memset_far' which is not static
__set_seg_##SEG(value)
^
./src/farptr.h:146:29: note: in expansion of macro '__SET_SEG'
#define SET_SEG(SEG, value) __SET_SEG(SEG, (value))
^
./src/string.c:89:5: note: in expansion of macro 'SET_SEG'
SET_SEG(ES, d_seg);
^
Compiling whole program out/ccode16.o
In file included from ./src/biosvar.h:10:0,
from ./src/misc.c:8,
from out/ccode16.o.tmp.c:1:
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_mouse_active' which is not
static
+
get_global_offset()))
^
./src/farptr.h:28:59: note: in definition of macro 'READ64_SEG'
union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var);
\
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_mouse_active' which is not
static
+
get_global_offset()))
^
./src/farptr.h:25:19: note: in definition of macro 'READ32_SEG'
: "m"(var), "m"(__segment_ ## SEG))
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_mouse_active' which is not
static
+
get_global_offset()))
^
./src/farptr.h:22:19: note: in definition of macro 'READ16_SEG'
: "m"(var), "m"(__segment_ ## SEG))
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_mouse_active' which is not
static
+
get_global_offset()))
^
./src/farptr.h:19:19: note: in definition of macro 'READ8_SEG'
: "m"(var), "m"(__segment_ ## SEG))
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_mouse_active' which is not
static
+
get_global_offset()))
^
./src/farptr.h:56:12: note: in definition of macro '__GET_VAR'
typeof(var) __val; \
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:388:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(mouse_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
./src/farptr.h:28:59: note: in definition of macro 'READ64_SEG'
union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var);
\
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
./src/farptr.h:25:19: note: in definition of macro 'READ32_SEG'
: "m"(var), "m"(__segment_ ## SEG))
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
./src/farptr.h:22:19: note: in definition of macro 'READ16_SEG'
: "m"(var), "m"(__segment_ ## SEG))
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
./src/farptr.h:19:19: note: in definition of macro 'READ8_SEG'
: "m"(var), "m"(__segment_ ## SEG))
^
./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR'
#define GET_VAR(seg, var) __GET_VAR("", seg, (var))
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
./src/biosvar.h:101:48: warning: 'get_global_offset' is static
but used in inline function 'usb_kbd_active' which is not static
+
get_global_offset()))
^
./src/farptr.h:56:12: note: in definition of macro '__GET_VAR'
typeof(var) __val; \
^
./src/biosvar.h:100:5: note: in expansion of macro 'GET_VAR'
GET_VAR(GLOBAL_SEGREG, *(typeof(&(var)))((void*)&(var)
\
^
./src/hw/usb-hid.c:316:12: note: in expansion of macro
'GET_GLOBAL'
return GET_GLOBAL(keyboard_pipe) != NULL;
^
./src/farptr.h:102:5: warning: '__set_seg_ES' is static but used
in inline function 'memcpy_far' which is not static
__set_seg_##SEG(value)
^
./src/farptr.h:146:29: note: in expansion of macro '__SET_SEG'
#define SET_SEG(SEG, value) __SET_SEG(SEG, (value))
^
./src/string.c:129:5: note: in expansion of macro 'SET_SEG'
SET_SEG(ES, d_seg);
^
./src/farptr.h:102:5: warning: '__set_seg_ES' is static but used
in inline function 'memset16_far' which is not static
__set_seg_##SEG(value)
^
./src/farptr.h:146:29: note: in expansion of macro '__SET_SEG'
#define SET_SEG(SEG, value) __SET_SEG(SEG, (value))
^
./src/string.c:101:5: note: in expansion of macro 'SET_SEG'
SET_SEG(ES, d_seg);
^
./src/farptr.h:102:5: warning: '__set_seg_ES' is static but used
in inline function 'memset_far' which is not static
__set_seg_##SEG(value)
^
./src/farptr.h:146:29: note: in expansion of macro '__SET_SEG'
#define SET_SEG(SEG, value) __SET_SEG(SEG, (value))
^
./src/string.c:89:5: note: in expansion of macro 'SET_SEG'
SET_SEG(ES, d_seg);
^
Compiling to assembler out/src/asm-offsets.s
Generating offset file out/asm-offsets.h
Compiling (16bit) out/romlayout.o
Building ld scripts
Version: rel-1.8.0-32-g6764395-20150523_153633-my-asrock-e350m1
Fixed space: 0xe05b-0x10000 total: 8101 slack: 8 Percent
slack: 0.1%
16bit size: 20288
32bit segmented size: 0
32bit flat size: 19248
32bit flat init size: 23728
Lowmem size: 2128
f-segment var size: 1104
Linking out/rom16.o
Stripping out/rom16.strip.o
Linking out/rom32seg.o
Stripping out/rom32seg.strip.o
Linking out/rom.o
Prepping out/bios.bin.prep
Total size: 68312 Fixed: 40640 Free: 62760 (used 52.1% of
128KiB rom)
Creating out/bios.bin.elf
Thanks,
Paul