[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] gcl-cvs, Tiger, num_sfun.c
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] gcl-cvs, Tiger, num_sfun.c |
Date: |
15 Jun 2005 11:38:12 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! Done (equivalent) and thanks!
Clemens Heitzinger <address@hidden> writes:
> Here we go with the next problem.
>
> Btw, this is with
> gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)
>
>
>
> gcc -no-cpp-precomp -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -
> fomit-frame-pointer -I/Users/Clemens/src/gcl-cvs/o -I../h -I../gcl-
> tk num_sfun.c
> num_sfun.c: In function 'number_exp':
> num_sfun.c:67: error: invalid storage class for function 'number_sin'
> num_sfun.c:67: error: invalid storage class for function 'number_cos'
> num_sfun.c: In function 'number_expt':
> num_sfun.c:96: error: invalid storage class for function 'number_nlog'
> num_sfun.c: In function 'number_nlog':
> num_sfun.c:180: error: invalid storage class for function 'number_sqrt'
> num_sfun.c:180: error: invalid storage class for function 'number_atan2'
> make[1]: *** [num_sfun.o] Error 1
> make: *** [unixport/saved_pre_gcl] Error 2
>
>
>
> It is a violation of the C standard to declare a static function
> inside another function and gcc-4.0 enforces this.
>
> The patch just removes the static declarations. Please review.
>
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Gcl-devel] gcl-cvs, Tiger, num_sfun.c,
Camm Maguire <=