make typedef an error