31:10: warning: multi-character character constant [-Wmultichar]
In function 'void strcpy2(char*, const char*)':
31:8: warning: overflow in implicit constant conversion [-Woverflow]
It does depend on the version of compiler and its options, how verbose they are.
It is a very useful skill to pay attention to what the compiler says.