[U-Boot] Commit 7ae47f6b causes a warning

Hannes Petermaier Hannes.Petermaier at br-automation.com
Mon Mar 16 08:53:07 CET 2015


> Hello Hannes,
Hi Albert,
many thanks - i will fix this, probably on wednesday and send a patch.

best regards,
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?
> 



More information about the U-Boot mailing list