There are also new pic14 warnings, introduced in revision #6860 with "_Bool support for the pics":

ccache gcc -pipe -ggdb -g -O2 -Wall -Wno-parentheses -I../../../sdcc_svn/src/pic14/.. -I.. -I. -I../.. -I../../../sdcc_svn/src/pic14/../../support/Util -I../../../sdcc_svn/src/pic14  -c -o gen.o ../../../sdcc_svn/src/pic14/gen.c
../../../sdcc_svn/src/pic14/gen.c: In function ...genCast...:
../../../sdcc_svn/src/pic14/gen.c:6599: warning: implicit declaration of function ...pic16_popGetLit...
../../../sdcc_svn/src/pic14/gen.c:6599: warning: passing argument 2 of ...emitpcode_real... makes pointer from integer without a cast
../../../sdcc_svn/src/pic14/gen.c:233: note: expected ...struct pCodeOp *... but argument is of type ...int...
../../../sdcc_svn/src/pic14/gen.c:6600: warning: implicit declaration of function ...pic16_popGet...
../../../sdcc_svn/src/pic14/gen.c:6600: warning: passing argument 2 of ...emitpcode_real... makes pointer from integer without a cast
../../../sdcc_svn/src/pic14/gen.c:233: note: expected ...struct pCodeOp *... but argument is of type ...int...

Pic16 functions are called from pic14 code without prototype declaration.

I don't like this approach and this is actually the only such case (there are others, but they are commented out).
I recommend one of the following options:
Borut


On 10/01/2011 11:39 AM, Philipp Klaus Krause wrote:
Am 01.10.2011 08:24, schrieb Borut Ražem:
    * tlcs900h_port in src/izt/tlcs900h.c and i186_port in
      src/izt/i186.c (actually not used, but just in case...)
    * gbz80_port in src/z80/main.c
I just fixed those. Sorry for forgetting to update all ports.

Philipp