Re: PATCH: gcc3.x __FUNCTION__ fix
- From: Pawel Salek <pawsa theochem kth se>
- To: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- Cc: balsa-list gnome org
- Subject: Re: PATCH: gcc3.x __FUNCTION__ fix
- Date: Sat, 5 Jan 2002 18:57:00 +0100
On 2001.12.23 22:14 Ali Akcaagac wrote:
> hi,
>
> in current cvs src/sendmsg-window.c contains old depracted
> __FUNCTION__ variables that causes gcc 3.x to spit out an
> error when compiled with -Werror. for future compilance this
> needs to be changed to __funct__. everything else can be read
> in gcc-info-13.
my gcc.info says:
<cite>
GNU CC also supports the magic word `__func__', defined by the ISO
standard C-99:
</cite>
In other words, using __func__ would mean we require C-99 compatible
compiler, which is not something I would like to do at the moment (I
believe gcc is the only available compiler that implements this standard),
unless there is no other way to make gcc-3.0 compile balsa.
my $0.02
-pawel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]