Re: [cc65] Re: Macro naming

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2008-05-29 12:11:13
On Wed, May 28, 2008 at 02:43:28PM +0100, Jonathan Graham Harston wrote:
> That suggests I should start off any code with something like:
>
> #ifdef __bbc__
> #define __BBC__
> #endif
> #ifdef __BBC__
> #define __bbc__
> #endif

This works until someone changes the identifiers. This can always happen
because the identifiers are reserved and can be changed or removed at any
time. Therefore, accessing the identifiers is a bad idea.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu May 29 12:11:21 2008

This archive was generated by hypermail 2.1.8 : 2008-05-29 12:11:24 CEST