[ale] One for the language lawyers ...

John Mills johnmills at speakeasy.net
Thu Jan 8 11:49:01 EST 2009


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



More information about the Ale mailing list