gEDA-dev: "error-reporting" branch work
Ivan Stankovic
ivan.stankovic at fer.hr
Wed Dec 5 05:49:10 EST 2007
On Wed, Dec 05, 2007 at 08:40:49AM +0000, Peter TB Brett wrote:
> commit 9369844cdfe9b64e82b91b7f88c9fef9f8bb5421
> Author: Peter TB Brett <peter at peter-b.co.uk>
>
> gschem: Show an informative message dialog when loading a file fails.
In this commit the filename of the file we've just failed to load
is added to the recent files list. We should only add files to
that list if the file loads successfully.
Also, you forgot to change the prototype in gsymcheck/include:
make[2]: Entering directory `/home/ivan/src/geda-pb/gsymcheck/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/home/ivan/geda/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -Wall -g -O2 -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.c
globals.c:68: error: conflicting types for ‘s_log_update’
../include/prototype.h:7: error: previous declaration of ‘s_log_update’ was here
make[2]: *** [globals.o] Error 1
make[2]: Leaving directory `/home/ivan/src/geda-pb/gsymcheck/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ivan/src/geda-pb/gsymcheck'
make: *** [all] Error 2
With a trivial change to fix this, all sources compile cleanly, and
gschem and gattrib work as expected. Good work, Peter!
--
Ivan Stankovic, ivan.stankovic at fer.hr
"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_drm"
More information about the geda-dev
mailing list