if it happens on a compile the issue is the way the linker works. It modifies the file and that is seen as an issue obviously. Only way around is to exclude it from the check.

of course this is only a problem on a dev system