Menu

Warning A4084: Size not specified

2010-01-19
2013-04-20
  • Alex Kotlyarov

    Alex Kotlyarov - 2010-01-19

    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?

     
  • Nobody/Anonymous

    > 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

     
  • Alex Kotlyarov

    Alex Kotlyarov - 2010-01-20

    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?

     
  • Nobody/Anonymous

    Agreed that line should give an error as the size is indeterminent.

     

Log in to post a comment.