September 10, 2005 strange problem | ||||
---|---|---|---|---|
| ||||
I can't help trying the latest version of dmc, however I run into a strang problem. What I do is below: //aaa.cpp typedef char BlockSet[13]; int Friend_block(const BlockSet& b) { ... } dmc aaa.cpp. It says: int Friend_block(const BlockSet& b) ^ error: type qualifiers and static can only appear in outermost array of function parameter however when I delete "const", It works well, and under mingw no problem occurs. |
Copyright © 1999-2021 by the D Language Foundation