This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inline (Re: guile: going the way of DEATH)


csk@fielder (Craig Kaplan) writes:

> I think that __FUNCTION__ is gnu-specific.  Unfortunaely, __FUNCTION__

Yep.

> appears throughout scwm code, which I can see being a pain.  Perhaps
> a quick way to fix this would be to have something like
> 
> 	#ifndef __GCC__
> 	#define __FUNCTION__ "unknown_function"
> 	#endif
> 
> At the top of a header file included by everyone.

Weird... I thought I'd done that long ago, but a quick check verified my 
memory to be in error.

Thanks for pointing it out.  Any other non-portable constructs?
Enquiring minds wanna know! :-)

Thanks,
Greg