bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reg operator new


From: Muthumeena M
Subject: reg operator new
Date: Wed, 23 Jul 2003 15:53:26 +0530

Hi all,

char *pch = NULL;
pch = new char [nLen + 2];

for such simple line am getting the following compilation error.

NmSpSCG.cpp:411: invalid conversion from `const char*' to `char*'
NmSpSCG.cpp:411:   initializing argument 3 of `void* operator new
[](unsigned
   int, char*, char*, int)'

could someone tell me y??

am using gcc version 3.2-7 in linux redhat 9


thanx in advance
meena






reply via email to

[Prev in Thread] Current Thread [Next in Thread]