Article View: gnu.gcc.bug
Article #1273gcc-2.3.1 breaks oleo-1.0
From: Operator
Date: Thu, 05 Nov 1992 17:22
Date: Thu, 05 Nov 1992 17:22
47 lines
2064 bytes
2064 bytes
Tried to build oleo-1.0 using gcc-2.3.1 on a SUN IPX running OS-4.1.3.
After editing one include file to fix a bad prototype:
*** io_utils.h Thu Nov 5 10:37:58 1992
--- io_utils.h.dist Thu Nov 5 10:37:41 1992
***************
*** 24,30 ****
#ifdef __STDC__
extern void clear_spreadsheet ();
extern char *print_cell (CELL *);
! extern char *cell_value_string (CELLREF r, CELLREF c);
extern char *col_to_str (CELLREF);
extern char *flt_to_str (double);
char *backslash_a_string (char *, int);
--- 24,30 ----
#ifdef __STDC__
extern void clear_spreadsheet ();
extern char *print_cell (CELL *);
! extern char *cell_value_string (int r, int c);
extern char *col_to_str (CELLREF);
extern char *flt_to_str (double);
char *backslash_a_string (char *, int);
I ran into an alignment error:
.
.
.
gcc -O -c -g -DSTDC_HEADERS=1 -DHAVE_X11_X_H=1 -DHAVE_UALARM=1 -DHAVE_SETITIMER
=1 -DHAVE_RENAME=1 -DHAVE_VPRINTF=1 io_utils.c
as: "/usr/tmp/cca23933.s", line 111: error: location counter not on word boundar
y
gnumake: *** [io_utils.o] Error 1
Note that this code compiles and runs under SUN's C-compiler.
-Joseph
--
Dr. Joseph E. Sacco | UUCP: ...!uunet!pws.ma30.bull.com!eileen!sacco
Mitchell & Gauthier Associates | Internet: sacco@mga.com
200 Baker Avenue | Fax: (508)-369-0013
Concord, MA 01742-2100 | Voice: (508)-369-5115
Technical Details
Message-ID:
<368@eileen.mga.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!mga.COM!rootShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!mga.COM!root From: root@mga.COM (Operator) Subject: gcc-2.3.1 breaks oleo-1.0 Message-ID: <368@eileen.mga.COM> Keywords: gcc,sparc,oleo Sender: gnulists@ai.mit.edu Reply-To: <sacco@mga.com> Organization: Mitchell & Gauthier Associates, Inc, Concord, MA Distribution: gnu Date: Thu, 5 Nov 1992 17:22:01 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 48