Ok, i found this warning when i:
a) Work with a segment declared as:
[SECTION CODE PUBLIC ALIGN=16 CLASS=CODE FLAT]
The warning only happens with "FLAT", no with "USE32".
For some reason i think that if i am not going to mix 16-bit and 32-bit code i am better declaring all in FLAT, after all that is win32 about (correct me if i am wrong). I use this same approach when declaring segments in MASM.
b) Declare a constant like this:
STD_OUTPUT_HANDLE equ 0FFFFFFF5h
Using "0xFFFFFFF5" doesnt fix it.
c) Push the constant to stack:
PUSH STD_OUTPUT_HANDLE
The warning go away if size operator "DWORD" is specified.
Ok, so is this a bug?. Im with NASM 2.09.10. Thanks