diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-02 06:41:49 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-02 06:41:49 +0000 |
commit | b8f8c20295a45ac7a473e2d0af4780d6702e6014 (patch) | |
tree | a128bc37868ff0ee0f47768c69deeedfc73ee3b4 /method.h | |
parent | dfb24be6c4c57036dee17eb4b517b9be4d30708f (diff) |
initializer paren-string `{("str")}` is a C99ism
First, `"str"` is a string constant but `("str")` is not. It is a
random expression whose type happen to be const char*. Second,
non-constant initializer element is forbidden in C90. Mixture of
these two results in the fact that `{("str")}` is a C99ism.
Just delete the parens and everything goes well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
0 files changed, 0 insertions, 0 deletions