Re: patch: ignored word maintenance


Subject: Re: patch: ignored word maintenance
From: WJCarpenter (bill-abisource@carpenter.ORG)
Date: Tue Sep 05 2000 - 23:56:27 CDT


paul> Today the windows build was broken on my machine:
paul> xad_Document.cpp(55) : warning C4101: 'copy' : unreferenced

This is a harmless warning that comes about because "copy" is only
used in a UT_DEBUGMSG, and you're not making a debug build. I'll
submit a patch to get rid of the warning later today.

paul> local variable xad_Document.cpp(176) : error C2106: '=' : left
paul> operand must be l-value make[4]: ***

I think this is the line it's complaining about.

                DELETEP((UT_UCSChar *)pHE->pData);

The windows compiler probably doesn't like setting a casted thing to
0. Changing "DELETEP" to "delete" should work (and is logically OK
for the code), but I won't be able to do a win32 build until probably
tonight to verify it. I'll submit a patch with that change and
perhaps someone else can verify it faster.

-- 
bill@carpenter.ORG (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3

Buy my house in Woodinville (near Seattle): <http://www.johnlscott.com/57554>



This archive was generated by hypermail 2b25 : Thu Sep 07 2000 - 13:40:10 CDT