[PATCH xserver] Change __FUNCTION__ to __func__
Daniel Stone
daniel at fooishbar.org
Wed Jul 21 03:27:25 PDT 2010
On Wed, Jul 21, 2010 at 07:54:14AM +0200, Matthieu Herrb wrote:
> On Wed, Jul 21, 2010 at 07:07:29AM +0200, Tomas Carnecky wrote:
> > On 7/21/10 6:19 AM, Jesse Adkins wrote:
> > > __func__ is the ISO C99 way of getting the current function name.
> >
> > The xserver only depends on C89, though it does use some C99 some
> > extensions. The required extensions are documented in doc/c-extensions.
> > How about adding the dependency on __func__ to the file?
> >
> > Are there any C89-only platforms left which prevent us from switching to
> > C99?
>
> Yes.
I think Matthieu's referring to m68k and VAX on OpenBSD here, which are
stuck with gcc 2.9x because no-one bothered to do DSO support for them
in gcc 3.x?
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100721/ec652cc5/attachment-0001.pgp>
More information about the xorg-devel
mailing list