[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build error w. gcc 3.4.0
From: |
Chet Ramey |
Subject: |
Re: build error w. gcc 3.4.0 |
Date: |
Mon, 26 Apr 2004 15:29:48 -0400 |
> i recieve the following errormsg when i try to compile bash 2.05b with gcc
> 3.4.0:
>
> make[1]: Entering directory `/usr/src/bash-2.05b/lib/malloc'
> gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H
> -DSHELL -g -O2 -DRCHECK -Dbotch=programming_error -c malloc.c
> malloc.c:239: warning: integer constant is too large for "unsigned long"
> type
> malloc.c: In function `internal_free':
> malloc.c:904: error: label at end of compound statement
> make[1]: *** [malloc.o] Error 1
> make[1]: Leaving directory `/usr/src/bash-2.05b/lib/malloc'
> make: *** [lib/malloc/libmalloc.a] Error 1
Put a semicolon after the `free_return:' label.
*** ../bash-2.05b-patched/lib/malloc/malloc.c Fri Jun 21 15:16:49 2002
--- lib/malloc/malloc.c Fri Dec 19 19:19:02 2003
***************
*** 880,883 ****
--- 883,887 ----
free_return:
+ ; /* Empty statement in case this is the end of the function */
#ifdef MALLOC_STATS
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/