i had already given a hint about this with the fix... its a simple
change of comment style from // to /*, attached a patch
On Sat, Nov 1, 2008 at 12:18 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have problems compiling dia's svn version, revision 4134, under Arch
> Linux x86_64, using gcc 4.3.2. I get the following:
>
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../intl -I../lib -pthread
> -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/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2
> -I/usr/include/libart-2.0 -I/usr/include/libart-2.0
> -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/usr/etc"\"
> -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib"\"
> -DLOCALEDIR=\"/usr/share/locale\" -DUIDATADIR=\"/usr/share/dia/ui\"
> -I/usr/include/libxml2 -I/usr/include/freetype2 -march=x86-64
> -mtune=generic -O2 -pipe -Wall -Wunused --std=c89
> -Wdeclaration-after-statement -Wmissing-prototypes
> -Wmissing-declarations -finline-functions -fstrict-aliasing -MT
> find-and-replace.o -MD -MP -MF .deps/find-and-replace.Tpo -c -o
> find-and-replace.o find-and-replace.c
> find-and-replace.c: In function '_match_prop':
> find-and-replace.c:180: warning: unused variable 'sub_prop_name'
> find-and-replace.c: In function '_match_all_props':
> find-and-replace.c:260: error: expected expression before '/' token
> find-and-replace.c:263: error: 'append_plist' undeclared (first use in
> this function)
> find-and-replace.c:263: error: (Each undeclared identifier is reported
> only once
> find-and-replace.c:263: error: for each function it appears in.)
> find-and-replace.c: In function 'fnr_respond':
> find-and-replace.c:376: warning: passing argument 2 of
> 'data_foreach_object' from incompatible pointer type
> find-and-replace.c:396: warning: passing argument 2 of
> 'data_foreach_object' from incompatible pointer type
> find-and-replace.c:414: warning: passing argument 2 of
> 'data_foreach_object' from incompatible pointer type
> find-and-replace.c:358: warning: unused variable 'list'
> make[4]: *** [find-and-replace.o] Error 1
> make[4]: Leaving directory
> `/home/haawda/paketierung/maintained_by_me/dia-svn/src/dia-build/app'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/haawda/paketierung/maintained_by_me/dia-svn/src/dia-build/app'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/haawda/paketierung/maintained_by_me/dia-svn/src/dia-build/app'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/haawda/paketierung/maintained_by_me/dia-svn/src/dia-build'
> make: *** [all] Error 2
>
>
> Regards Stefan
>
>
> _______________________________________________
> dia-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://live.gnome.org/Dia/Faq
> Main page at http://live.gnome.org/Dia
>
>
--
Fred Morcos
http://fredmorcos.blogspot.com/
http://katoob.googlecode.com/
https://savannah.nongnu.org/projects/objective-gtk/
http://grafer.googlecode.com/
Index: app/find-and-replace.c
===================================================================
--- app/find-and-replace.c (revision 4133)
+++ app/find-and-replace.c (working copy)
@@ -257,7 +257,7 @@
/* First time. */
matched_plist = prop_list_from_single (prop);
} else {
- //FIXME: do we realy want a replace all here?
+ /* FIXME: do we realy want a replace all here? */
/* Subsequent finds. */
GPtrArray *append_plist;
append_plist = prop_list_from_single (prop);
_______________________________________________
dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia