Yes, it looks like it has been there a while.
You can checkout the patch, or I can send you an updated windows binary.
From: Alexei Fedorov [mailto:
[email protected]]
Sent: Thursday, May 16, 2013 3:17 AM
To: Moore, Robert; devel(a)acpica.org
Subject: RE: -D <symbol> Preprocessor Option Doesn't Work
Hi Robert,
I tried that with 4 previous versions of compiler & still got the same issue.
Regards.
Alexei.
From: Moore, Robert [mailto:
[email protected]]
Sent: 15 May 2013 18:33
To: Alexei Fedorov;
[email protected]<mailto:
[email protected]>
Subject: RE: -D <symbol> Preprocessor Option Doesn't Work
Sorry, we did some code restructuring and broke this. You can go back to an earlier
version of the compiler, or wait until later this week when there will be a new version.
Bob
From:
[email protected]<mailto:
[email protected]>
[mailto:
[email protected]] On Behalf Of Moore, Robert
Sent: Wednesday, May 15, 2013 8:43 AM
To: Alexei Fedorov;
[email protected]<mailto:
[email protected]>
Subject: Re: [Devel] -D <symbol> Preprocessor Option Doesn't Work
We will check it out.
Thanks,
Bob
From:
[email protected]<mailto:
[email protected]>
[mailto:
[email protected]] On Behalf Of Alexei Fedorov
Sent: Tuesday, May 14, 2013 5:27 AM
To:
[email protected]<mailto:
[email protected]>
Subject: [Devel] -D <symbol> Preprocessor Option Doesn't Work
Hi,
ASL User Guide states that #ifdef statements are recognized when a symbol is defined in
the command line:
"3.3.2.2 #ifdef
Usage:
#ifdef symbol
Conditionally compile a block of text. The block is included in the compilation if the
symbol is defined, either from a #define or from the - D command line option"
but I cannot make ASL Compiler to recognize the following option
-D <symbol> Define symbol for preprocessor use
In the example below
DefinitionBlock("DSDT.AML", "DSDT", 0x01, " ", "
", 3) {
Scope(_SB) {
Device(CPU0) {
Name(_HID, "ACPI0007")
Name(_UID, Zero)
}
#ifdef CPU_1
Device(CPU1) {
Name(_HID, "ACPI0007")
Name(_UID, One)
}
#endif
}
}
The section between #ifdef CPU_1 ... #endif is not being compiled when ASL is invoked as:
iasl.exe -l -D CPU_1 Dsdt.asl
Checked with the latest version 20130418-32 [Apr 18 2013].
Any thoughts on what might be going wrong here?
Thanks.
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and
may also be privileged. If you are not the intended recipient, please notify the sender
immediately and do not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium. Thank you.
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and
may also be privileged. If you are not the intended recipient, please notify the sender
immediately and do not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium. Thank you.