A simple
mov , 0
gives only a warning, compared to an error in MASM. Is this by design? Is there a way to make it an error?
> Is this by design?
I guess yes. The decision was made in Wasm times, however. It's probably no longer appropriate.
> Is there a way to make it an error?
Yes. Try the -WX cmdline option!
japheth
Thanks for the quick reply.
> Try the -WX cmdline option! This makes all warnings count as errors, which is not what I want. Maybe a selective /WX=A4084?
Agreed that line should give an error as the size is indeterminent.
Log in to post a comment.
A simple
mov , 0
gives only a warning, compared to an error in MASM. Is this by design? Is there a way to make it an error?
> Is this by design?
I guess yes. The decision was made in Wasm times, however. It's probably no longer appropriate.
> Is there a way to make it an error?
Yes. Try the -WX cmdline option!
japheth
Thanks for the quick reply.
> Try the -WX cmdline option!
This makes all warnings count as errors, which is not what I want. Maybe a selective /WX=A4084?
Agreed that line should give an error as the size is indeterminent.