A4005: Access size mismatch for <Symbol>

[WARNING]

Description

Incompatible access sizes are attached to an object, either implicitly or explicitly. The access size of an object is determined from XREF declarations, XDEF definitions and (if applicable) from the access size of the section, where the object is placed into.

Example
          XDEF.B  two

  
  const:  SECTION

  
  two:    DC.B    2   ; implicit *.W definition

  
Tips

It is probably a good idea to eliminate mismatches, particularly if mismatches occur between declarations in a "header file" and definitions in the assembly file.