[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

"new" as function parameter doesn't work with C++-compilers

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-06-09 09:59:45 CEST

Hi,

Just updated to HEAD of subversion and
tried to compile it. But I got compiler errors
in the file svn_wc.h, line 67 because "new"
is a C++ keyword and shouldn't be used
as a parameter name.

(subversion itself compiles fine, but I'm using
subversion in my own client which is written
in C++ and that's what my compiler hates)

May I ask to change that?
I think I could convince my compiler to
treat that file as pure C instead of C++,
but I guess it's easier to change the parameter
name.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 9 10:02:37 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.