[cvsnt] Unix port of latest CVSNT

Tony Hoyle tmh at nodomain.org
Wed Oct 23 13:16:20 BST 2002

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

On Tue, 22 Oct 2002 12:38:23 +0000, Boyd Meier wrote:

>> @@ -15,6 +15,7 @@
>  #include <vector>
>  #include <string>
>  #include <map>
> +#include <cstdarg>

This just includes stdarg.h, which is included automatically by stdio.h
(as printf uses it).

cstdarg probably wouldn't be compatible with VC6 (which is only minimally
C++ compatible).  It might be worth  including stdarg.h though.

> -			LockList.erase(&LockList[n]);
> +			LockList.erase(LockList.begin()+n);

Theoretically these two are exactly equivalent... personally I prefer the
first form as it's more obvious to the eye what is being represented (I
realise under the hood it's converting to iterators etc. of course).

It looks like they broke it in gcc3.  I can work around this in the code,
however I'm not sure I'd trust a cvsnt compiled under gcc3 to actually
run, though...  stick to 2.95 it you can.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook