On Thu, Jul 01, 2010 at 11:51:17AM +1000, Justin Clift wrote: > On 07/01/2010 07:05 AM, Eric Blake wrote: > <snip> > >Hmm, this reminds me of my pending question of whether we should prefer > >__func__ (C99, and guaranteed by gnulib) or __FUNCTION__ (gcc-only, but > >easy to wrap on top of __func__): > >https://www.redhat.com/archives/libvir-list/2010-May/msg00319.html > > Ouch, does this mean we might officially be not supporting compilers > other than gcc? ie: No, there is comaptability code /* C99 uses __func__. __FUNCTION__ is legacy. */ # ifndef __GNUC__ # define __FUNCTION__ __func__ # endif Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list