[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUG in OLEO ?
From: |
Danny Backx |
Subject: |
Re: BUG in OLEO ? |
Date: |
Wed, 11 Oct 2000 00:00:11 +0200 |
I was just about to reply to your message about Oleo 1.6, I'm
glad you found the more recent version.
The line concerned is
((char *)Preferences[i].var) = strdup(ptr);
which is questionable indeed. Try removing the cast so it becomes
Preferences[i].var = (void *)strdup(ptr);
There's a similar case two lines further.
Danny
Ferdinand CAP wrote:
>
> Please help. I think I have found a bug in oleo-1.99.12.
> I am using a Hewlett Packard Workstation hpux10.20.
> I am attaching the report and the programs mdi.h and
> io-term.c which I received from the University of
> Technology of Vienna. I need a spreadsheet for my unix
> machine. Thanks, F.Cap, University of Innsbruck,
> Austria.
> REPORT :
> # make
> No suffix list.
> make all-recursive
> No suffix list.
> Making all in doc
> /usr/bin/perl ./texi2html ./oleo.texi
> Making all in lib
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../intl -g -c getdate.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../intl -g -c getopt.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../intl -g -c getopt1.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../intl -g -c random.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../intl -g -c mktime.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../intl -g -c obstack.c
> cc: "obstack.c", line 470: warning 527: Integral value implicitly
> converted to pointer in assignment.
> cc: "obstack.c", line 470: warning 563: Argument #1 is not the correct
> type.
> rm -f liboleo.a
> ar cru liboleo.a getdate.o getopt.o getopt1.o random.o mktime.o
> obstack.o
> ranlib liboleo.a
> Making all in intl
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c intl-compat.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c bindtextdom.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c dcgettext.c
> cpp: "values.h", line 27: warning 2001: Redefinition of macro MAXINT.
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c dgettext.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c gettext.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c finddomain.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c loadmsgcat.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c localealias.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c textdomain.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c l10nflist.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -g
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"\"
>
> -c explodename.c
> rm -f libintl.a
> ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o
> dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o
> textdomain.o l10nflist.o explodename.o
> ranlib libintl.a
> Making all in src
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c parse.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c byte-compile.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c eval.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c ref.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c decompile.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c sort.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c regions.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c utils.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c lists.c
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c io-term.c
> cpp: "mdi.h", line 35: warning 2010: Extra characters on #endif.
> cc: "io-term.c", line 234: warning 524: Cast (non-lvalue) appears on
> left-hand side of assignment.
> cc: "io-term.c", line 234: error 1549: Modifiable lvalue required for
> assignment operator.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> #
> # make check
> No suffix list.
> Making check in doc
> Making check in lib
> rm -f liboleo.a
> ar cru liboleo.a getdate.o getopt.o getopt1.o random.o mktime.o
> obstack.o
> ranlib liboleo.a
> Making check in intl
> rm -f libintl.a
> ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o
> dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o
> textdomain.o l10nflist.o explodename.o
> ranlib libintl.a
> Making check in src
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c io-term.c
> cpp: "mdi.h", line 35: warning 2010: Extra characters on #endif.
> cc: "io-term.c", line 234: warning 524: Cast (non-lvalue) appears on
> left-hand side of assignment.
> cc: "io-term.c", line 234: error 1549: Modifiable lvalue required for
> assignment operator.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> # make install
> No suffix list.
> Making install in doc
> /bin/sh ../mkinstalldirs /usr/local/info
> /opt/imake/bin/install -c -m 644 ./oleo.info /usr/local/info/oleo.info
> /opt/imake/bin/install -c -m 644 ./oleo.info-1
> /usr/local/info/oleo.info-1
> /opt/imake/bin/install -c -m 644 ./oleo.info-2
> /usr/local/info/oleo.info-2
> /opt/imake/bin/install -c -m 644 ./oleo.info-3
> /usr/local/info/oleo.info-3
> /bin/sh ../mkinstalldirs /usr/local/share/oleo
> mkdir /usr/local/share/oleo
> /opt/imake/bin/install -c -m 644 ./oleo.html
> /usr/local/share/oleo/oleo.html
> Making install in lib
> Making install in intl
> Making install in src
> cc -Aa -D_HPUX_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
> -I../lib -I../intl -g -DLOCALEDIR=\"/usr/local/share/locale\"
> -DBUILD_PREFIX='"'/usr/local'"' -c io-term.c
> cpp: "mdi.h", line 35: warning 2010: Extra characters on #endif.
> cc: "io-term.c", line 234: warning 524: Cast (non-lvalue) appears on
> left-hand side of assignment.
> cc: "io-term.c", line 234: error 1549: Modifiable lvalue required for
> assignment operator.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> #
>
> _______________________________________________
> Bug-oleo mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-oleo
--
Danny Backx (address@hidden address@hidden)
Home page : http://users.skynet.be/danny.backx
Projects: LessTif (http://www.lesstif.org)
Oleo (http://www.gnu.org/software/oleo/oleo.html)
- BUG in OLEO ?, Ferdinand CAP, 2000/10/10
- Re: BUG in OLEO ?,
Danny Backx <=