Conditional compilation inside asm and enum declarations

Bill Baxter wbaxter at gmail.com
Tue Jul 14 14:04:38 PDT 2009


On Tue, Jul 14, 2009 at 12:04 PM, Walter
Bright<newshound1 at digitalmars.com> wrote:
> Bill Baxter wrote:
>>
>> I do think you make a convincing argument that in general lots of
>> micro ifdefs everywhere is not the right approach.
>> But I remain unconvinced that potential for abuse is a good reason to
>> disallow finer scale version() statements.
>
> It's where the line between micro and fine is that you disagree with, not
> the principle?

Yeh.  Like in the case just mentioned -- version() around items in an
enum sounds more reasonable to me than having to define the entire
enum twice.

--bb



More information about the Digitalmars-d mailing list