diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index e7e46f9f0c..c743153178 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -13,7 +13,7 @@ import v.depgraph // NB: keywords after 'new' are reserved in C++ const ( - c_reserved = ['array', 'delete', 'exit', 'link', 'unix', 'error', 'calloc', 'malloc', 'free', 'panic', + c_reserved = ['delete', 'exit', 'link', 'unix', 'error', 'calloc', 'malloc', 'free', 'panic', 'auto', 'char', 'default', 'do', 'double', 'extern', 'float', 'inline', 'int', 'long', 'register', 'restrict', 'short', 'signed', 'sizeof', 'static', 'switch', 'typedef', 'union', 'unsigned', 'void', 'volatile', 'while', 'new', 'namespace', 'class', 'typename', 'export']