That's weird. The compiler error seems to suggest that the compiler thinks
Ww and near are pointers or something. I am not sure what to do about that.
Try storing the doubles in a another variable type double and see if the
compiler allows that?

Jeremiah
On May 16, 2013 10:43 AM, "Richard Shann" <[email protected]> wrote:

> Jeremiah,
>
> I have just fixed a memory error that has been plaguing the master
> branch for a week or so, and I wanted to rebuild the windows binary
> using gub. It failed to compile print.c saying that some header was
> defining the type Rectangle - so I change this in print.c and then it
> complained as follows:
>
> /home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/src/print.c:1265:
> error: expected identifier before '.' token
>
> this is where a GdkPoint is having a member extracted, I changed this
> also to a new type WwPoint but the code still will not compile under
> gub.
> I wonder if you are able to build for windows still?
> FWIW I include the compile step that fails below.
>
> Richard
>
> i686-mingw32-gcc -mms-bitfields -DHAVE_CONFIG_H -I.
> -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/src
> -I..  -I../intl
> -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/intl
> -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/include
>  
> -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/libsmf
>  
> -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/libsffile
> -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/pixmaps
> -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\"
> -DDENEMO_LOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/usr/etc/denemo/\"
> -DPKGDATADIR=\"/usr/share/denemo/\" -DDATAROOTDIR=\"/usr/share/\"
> -DPKGNAME=\"denemo\"
>  -I/home/rshann/gub/target/mingw/root/usr/include/evince/2.32
>  -I/home/rshann/gub/target/mingw/root/usr/include
> -I/home/rshann/gub/target/mingw/root/usr/include/libxml2   -mms-bitfields
> -I/home/rshann/gub/target/mingw/root/usr
>  /include/librsvg-2
> -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0
> -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/include
> -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0
> -I/home/rshann/gub/target/mingw/root/usr/include/cairo
> -I/home/rshann/gub/target/mingw/root/usr/include/libpng12
> -I/home/rshann/gub/target/mingw/root/usr/include
> -L/home/rshann/gub/target/mingw/root/usr/lib -lgthread-2.0 -lglib-2.0
> -lintl   -L/home/rshann/gub/target/mingw/root/usr/lib -lsndfile
>  -mms-bitfields -I/home/rshann/gub/target/mingw/root/usr/include/gtk-2.0
> -I/home/rshann/gub/target/mingw/root/usr/lib/gtk-2.0/include
> -I/home/rshann/gub/target/mingw/root/usr/include/atk-1.0
> -I/home/rshann/gub/target/mingw/root/usr/include/cairo
> -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0
> -I/home/rshann/gub/target/mingw/root/usr/include/pango-1.0
> -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0
> -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/inc
>  lude -I/home/rshann/gub/target/mingw/root/usr/include/freetype2
> -I/home/rshann/gub/target/mingw/root/usr/include
> -I/home/rshann/gub/target/mingw/root/usr/include/libpng12   -mms-bitfields
> -I/home/rshann/gub/target/mingw/root/usr/include/gtksourceview-2.0
> -I/home/rshann/gub/target/mingw/root/usr/include/gtk-2.0
> -I/home/rshann/gub/target/mingw/root/usr/lib/gtk-2.0/include
> -I/home/rshann/gub/target/mingw/root/usr/include/atk-1.0
> -I/home/rshann/gub/target/mingw/root/usr/include/cairo
> -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0
> -I/home/rshann/gub/target/mingw/root/usr/include/pango-1.0
> -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0
> -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/include
> -I/home/rshann/gub/target/mingw/root/usr/include/freetype2
> -I/home/rshann/gub/target/mingw/root/usr/include
> -I/home/rshann/gub/target/mingw/root/usr/include/libpng12
> -mms-bitfields -I/home/rshann/gub/target/mingw/root/usr/include
> -I/home/rshann/gub/target/m
>  ingw/root/usr/include/gtk-2.0
> -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0
> -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/include
> -I/home/rshann/gub/target/mingw/root/usr/lib/gtk-2.0/include
> -I/home/rshann/gub/target/mingw/root/usr/include/atk-1.0
> -I/home/rshann/gub/target/mingw/root/usr/include/cairo
> -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0
> -I/home/rshann/gub/target/mingw/root/usr/include/pango-1.0
> -I/home/rshann/gub/target/mingw/root/usr/include/freetype2
> -I/home/rshann/gub/target/mingw/root/usr/include/libpng12
> -D_HAVE_FLUIDSYNTH_ -I/home/rshann/gub/target/mingw/root/usr/include
> -D_HAVE_PORTAUDIO_ -mthreads
> -I/home/rshann/gub/target/mingw/root/usr/include
> -I/home/rshann/gub/target/mingw/root/usr/include
> -I/home/rshann/gub/target/mingw/root/usr/include   -D_HAVE_PORTMIDI_
> -D_HAVE_X11_ -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o
> /home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/src/p
>  rint.c
>
>
>
> _______________________________________________
> Denemo-devel mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/denemo-devel
>
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to