Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/libedit/history.c broke the build

On Jul 27,  4:53am, (Paul Goyette) wrote:
-- Subject: lib/libedit/history.c broke the build

| #   compile  libedit/historyn.o
| /test-bed/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99  -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  
-Wno-traditional  -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare 
-Wsign-compare  -Werror     -DWIDECHAR -I. -I/test-bed/src/lib/libedit -I. 
-I/test-bed/src/lib/libedit   --sysroot=/test-bed/dst  -c    historyn.c -o 
| cc1: warnings being treated as errors
| In file included from historyn.c:3:
| /test-bed/src/lib/libedit/history.c: In function 'history_save':
| /test-bed/src/lib/libedit/history.c:818: warning: assignment discards 
qualifiers from pointer target type

Fixed, thanks.


Home | Main Index | Thread Index | Old Index