"Moore, Robert" wrote:
> This looks like the (in)famous "implicit return" problem that is in some
> Toshiba ASL files.
>                 Method(_CRS) {
>                     CRS_(0x10)
>                 }
> This does NOT actually return a value and the ASL code is incorrect.  It has
> to be:
>                 Method(_CRS) {
>                     Return (CRS_(0x10))
>                 }
> The iASL compiler generates warnings for all instances of this erroneous
> code.

Is there any way to add a "-s" for "strict" option to the iASL compiler,
in which it generates warnings for this code... but in the absence
of the option, simply pretends it saw the "Return", since it knows
that that's the problem anyway, and is just being bitchy by warning
about it instead of warning, but also taking the appropriate corrective
action for this case?

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to