c++ - strange problem
- Michael (12/12) Sep 10 2005 I can't help trying the latest version of dmc, however I run into a stra...
- Walter Bright (1/1) Sep 12 2005 Thanks, it's a bug. I'll add it to the queue to be fixed. -Walter
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.
Sep 10 2005
Thanks, it's a bug. I'll add it to the queue to be fixed. -Walter
Sep 12 2005








"Walter Bright" <newshound digitalmars.com>