Re: misusing placement new OR possible cxx bug

2008-10-13 Thread Ralovich, Kristóf
On Mon, Oct 13, 2008 at 18:49, Andreas Schwab <[EMAIL PROTECTED]> wrote: > "Ralovich, Kristóf" <[EMAIL PROTECTED]> writes: > >> >> >> int >> main(int argc, char** argv) &

misusing placement new OR possible cxx bug

2008-10-13 Thread Ralovich, Kristóf
Hi GCC developers, I have a c++ source, that I think is wrong (wrt the c++ standard), but accepted by g++ (and msvc too)! int main(int argc, char** argv) { char* d = new char[256, 256]; return 0; } Is this th