This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++ - new arrays bug
On Apr 15, 1999, Ildar Mulyukov <ildar@faki-campus.mipt.ru> wrote:
> Sometimes compiler doesn't gots confused with strings like:
> lpszSomebuffer = new char[aSize];
> with complains like:
> arccore.cpp:370: `DEBUG_NEW' undeclared (first use this function)
Compile with `-dD -save-temps', then look for `#define new DEBUG_NEW'
in arccore.ii. Then, search for the last line starting with '#
[0-9]*'. The numbers will be followed by the culprit filename.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists