I'm getting strange behavior from :make. I have a build that
produces this output at the shell:
rhino$ make
make all-am
make[1]: Entering directory `/home/bkerin/projects/isymchoose'
if gcc -DHAVE_CONFIG_H -I. -I. -I.
-DSCRIPTDIR='"/home/bkerin/local/share/isymchoose"' -Wall -Wextra
-Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointer-arith
-Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs
-fno-common -I/home/bkerin/local/include/gtk-2.0
-I/home/bkerin/local/lib/gtk-2.0/include
-I/home/bkerin/local/include/atk-1.0
-I/home/bkerin/local/include/cairo
-I/home/bkerin/local/include/pango-1.0
-I/home/bkerin/local/include/glib-2.0
-I/home/bkerin/local/lib/glib-2.0/include
-I/home/bkerin/local/include/freetype2 -I/home/bkerin/local/include
-I/home/bkerin/local/include/pixman-1 -I/usr/include/libpng12 -g -O2
-MT isymchoose.o -MD -MP -MF ".deps/isymchoose.Tpo" -c -o
isymchoose.o isymchoose.c; \
then mv -f ".deps/isymchoose.Tpo" ".deps/isymchoose.Po";
else rm -f ".deps/isymchoose.Tpo"; exit 1; fi
In file included from
/home/bkerin/local/include/gtk-2.0/gtk/gtk.h:224,
from isymchoose.c:20:
/home/bkerin/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning:
function declaration isn’t a prototype
isymchoose.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘now’
make[1]: *** [isymchoose.o] Error 1
make[1]: Leaving directory `/home/bkerin/projects/isymchoose'
make: *** [all] Error 2
When I do :make while editing a file in the director containing that
Makefile,
I get this:
:!make | tee /tmp/v198942/0
make all-am
make[1]: Entering directory `/home/bkerin/projects/isymchoose'
if gcc -DHAVE_CONFIG_H -I. -I. -I.
-DSCRIPTDIR='"/home/bkerin/local/share/isymchoose"' -Wall -Wextra
-Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointe
r-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs
-fno-common -I/home/bkerin/local/include/gtk-2.0
-I/home/bkerin/local/lib/gtk-2.0/include -I/ho
me/bkerin/local/include/atk-1.0 -I/home/bkerin/local/include/cairo
-I/home/bkerin/local/include/pango-1.0
-I/home/bkerin/local/include/glib-2.0 -I/home/bkerin/lo
cal/lib/glib-2.0/include -I/home/bkerin/local/include/freetype2
-I/home/bkerin/local/include -I/home/bkerin/local/include/pixman-1
-I/usr/include/libpng12 -g -
O2 -MT isymchoose.o -MD -MP -MF ".deps/isymchoose.Tpo" -c -o
isymchoose.o isymchoose.c; \
then mv -f ".deps/isymchoose.Tpo" ".deps/isymchoose.Po";
else rm -f ".deps/isymchoose.Tpo"; exit 1; fi
In file included from
/home/bkerin/local/include/gtk-2.0/gtk/gtk.h:224,
from isymchoose.c:20:
/home/bkerin/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning:
function declaration isn’t a prototype
isymchoose.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘now’
make[1]: *** [isymchoose.o] Error 1
make[1]: Leaving directory `/home/bkerin/projects/isymchoose'
make: *** [all] Error 2
(1 of 5): make all-am
:clist
1: make all-am
2: make[1]: Entering directory `/home/bkerin/projects/isymchoose'
3: if gcc -DHAVE_CONFIG_H -I. -I. -I.
-DSCRIPTDIR='"/home/bkerin/local/share/isymchoose"' -Wall -Wextra
-Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpo
inter-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wnested-externs -fno-common -I/home/bkerin/local/include/gtk-2.0
-I/home/bkerin/local/lib/gtk-2.0/include -
I/home/bkerin/local/include/atk-1.0
-I/home/bkerin/local/include/cairo
-I/home/bkerin/local/include/pango-1.0
-I/home/bkerin/local/include/glib-2.0 -I/home/bkeri
n/local/lib/glib-2.0/include -I/home/bkerin/local/include/freetype2
-I/home/bkerin/local/include -I/home/bkerin/local/include/pixman-1
-I/usr/include/libpng12
-g -O2 -MT isymchoose.o -MD -MP -MF ".deps/isymchoose.Tpo" -c -o
isymchoose.o isymchoose.c; \
4: then mv -f ".deps/isymchoose.Tpo" ".deps/isymchoose.Po";
else rm -f ".deps/isymchoose.Tpo"; exit 1; fi
5: make[1]: Leaving directory `/home/bkerin/projects/isymchoose'
Note that the quicklist doesn't include the lines that have the actual
errors.
Also, :cnext doesn't ever take me to the actual error sites (line 43 in
this
case).
I have the defualt setting for errorformat. I have tried ':compiler
gcc' but
it doesn't seem to make and difference. Any ideas what might be going
on here?
Thanks,
Britton
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---