This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
unsigned char *buffer = new (unsigned char)[1024]; 3.3 versions of g++ accept this code without complaint, but 3.4 gives the message: test.cpp:3: error: expected `,' or `;' before '[' token
This was covered in a recent thread on the gcc list. http://gcc.gnu.org/ml/gcc/2004-02/msg00970.html http://gcc.gnu.org/ml/gcc/2004-02/msg00974.html
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |