Subject: Re: Small gnome-print and gnome-lists patch
From: sam th (sam@uchicago.edu)
Date: Wed Aug 02 2000 - 00:11:01 CDT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 1 Aug 2000, Dom Lachowicz wrote:
> Small patch to fix Sam's reported gnome-print-dialog bug as well as to
> re-order the "apply" and "cancel" buttons on the list dialog.
>
This patch won't compile for me. Error follows
xap_UnixGnomeDlg_Print.cpp:
xap_UnixGnomeDlg_Print.cpp: In method `void
XAP_UnixGnomeDialog_Print::runModal(XAP_Frame *)':
xap_UnixGnomeDlg_Print.cpp:185: parse error before `*'
make[5]: ***
[/home/sam/abi/abicommit/src/Linux_2.3.37_i386_GNOME/obj/xap_UnixGnomeDlg_Print.o]
Error 1
make[5]: Leaving directory `/home/sam/abi/abicommit/src/af/xap/unix/gnome'
This doesn't make any sense to me either. It won't parse just a standard
static_cast. I looked up static_cast in my copy of Stroustrup, and you
have the syntax right. I tried changing it to a regular cast [
(XAP_UnixGnomeFrame *) ] and got the following errors:
xap_UnixGnomeDlg_Print.cpp:
xap_UnixGnomeDlg_Print.cpp: In method `void
XAP_UnixGnomeDialog_Print::runModal(XAP_Frame *)':
xap_UnixGnomeDlg_Print.cpp:185: `XAP_UnixGnomeFrame' undeclared (first use
this function)
xap_UnixGnomeDlg_Print.cpp:185: (Each undeclared identifier is reported
only once
xap_UnixGnomeDlg_Print.cpp:185: for each function it appears in.)
xap_UnixGnomeDlg_Print.cpp:185: parse error before `)'
make[5]: ***
[/home/sam/abi/abicommit/src/Linux_2.3.37_i386_GNOME/obj/xap_UnixGnomeDlg_Print.o]
Error 1
I find this bizzare in the extreme. Help me please. :-)
sam th
sam@uchicago.edu
http://www.abisource.com/~sam/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5h61mt+kM0Mq9M/wRArbgAJ4psLu2SIDZ7CQBEs/+EV40WrIHCQCeLqhg
Glzx/4MO5s4pE7zZfLMlO8o=
=nTsx
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2b25 : Tue Aug 01 2000 - 23:03:26 CDT