when i compile the crazyflie-firmware code in the terminl, it output the warning like follow
Code: Select all
nickcong@nickcong-Inspiron-3537:~/crazyflie-firmware$ sudo make
CLEAN_VERSION
VTMPL version.c
CC version.o
LD cf2.elf
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-atexit.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-ctype_.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-errno.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-__call_atexit.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
COPY cf2.hex
COPY cf2.bin
DFUse cf2.dfu
Crazyflie 2.0 build!
Build 43:a626925d4b07 (2017.06-43) MODIFIED
Version extracted from git
Crazyloader build!
text data bss dec hex filename
139808 2592 63240 205640 32348 cf2.elf
there are a lot warning ,it is about saying uses 2-byte wchar_t yet the output is to use 4-byte wchar_t ........., so how can i set the 2-byte wchar to 4-byte wchar ??
thank you!
happy christmas!