Changing error to warning: mismatch in size/layout of global variable