[U-Boot] Commit 7ae47f6b causes a warning

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Mar 14 22:35:55 CET 2015


Hello Hannes,

On Tue,  3 Feb 2015 13:22:34 +0100, Hannes Petermaier <oe5hpm at oevsv.at>
wrote:

> diff --git a/include/configs/bur_am335x_common.h b/include/configs/bur_am335x_common.h
> index e9d5d01..d7ea1c9 100644
> --- a/include/configs/bur_am335x_common.h
> +++ b/include/configs/bur_am335x_common.h
> @@ -12,6 +12,23 @@
>  #ifndef __BUR_AM335X_COMMON_H__
>  #define __BUR_AM335X_COMMON_H__
>  /* ------------------------------------------------------------------------- */
> +#define BUR_COMMON_ENV \
> +"defaultip=192.168.60.253\0" \
> +"defaultsip=192.168.60.254\0" \
> +"netconsole=echo switching to network console ...; " \
> +"if dhcp; then " \
> +"setenv ncip ${serverip}; else " \
> +"setenv ncip 192.168.60.254; " \
> +"setenv serverip 192.168.60.254; " \
> +"setenv gatewayip 192.168.60.254; " \
> +"setenv ipaddr 192.168.60.1; " \
> +"fi;" \
> +"setenv netdisplay0 '" \
> +"setcurs 1 9; puts myip; setcurs 10 9; puts ${ipaddr};" \
> +"setcurs 1 10;puts serverip; setcurs 10 10; puts ${serverip}\;'" \

This line contains a '\;' sequence which gcc warns against:

	cc1: warning: unknown escape sequence: '\;' [enabled by default]

Could you post a fix?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list