[ale] One for the language lawyers ...

Jim Kinney jim.kinney at gmail.com
Thu Jan 8 12:24:37 EST 2009


<smart a$$ reply>

__funct__ is used by Connecticut developers when they are just kidding
around.
__FUNCTION__ is a defined token everywhere.
</smart a$$ reply>

On Thu, Jan 8, 2009 at 11:49 AM, John Mills <johnmills at speakeasy.net> wrote:

> ALErs -
>
> What are the differences in use and availability for these two tokens in C
> and C++:
>
>   __funct__
>
>   __FUNCTION__
>
> as in:
>    printf("Bad arg received at %s\n", __FUNCTION__);
>
> Both seem to be accepted and work similarly in my gcc-3.x and -4.x 'C'
> environments, but I would like to know their relative hazards in code for
> multiple processor types.
>
> TIA.
>
>  - Mills
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>



-- 
-- 
James P. Kinney III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090108/da05a88d/attachment.html 


More information about the Ale mailing list