Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#113 Fixes for VC 2003

WinCvs
closed
WinCvs (90)
5
2006-03-05
2006-01-13
Glenn Maynard
No

Attached are fixes to make WinCVS build and run in VC
2003. I don't think these should affect VC6, but I
don't have it installed to test.

CvsRootDlg.cpp, CvsRootDlg.h, ItemListDlg.cpp:
istrstream has no copy ctor. Return a string
instead. (On a quick test, istrstream also has no
copy ctor in g++.)

wincvs.h: I'm not sure about this one. AfxGetMainWnd
is returning NULL, which breaks console output;
m_pMainWnd is valid. There may be a better fix, but
I'm not familiar enough with MFC.

wincvsView.cpp: m_syncObject is a critical section;
those don't support timeouts. VC6 may have silently
ignored this, but VC7.1's libraries throw an assertion
if a timeout is specified.

Discussion

    • status: open --> pending
     
  • Logged In: YES
    user_id=119527

    Where are the files?
    You need to tick the checkbox when attaching a file here.

     
    • status: pending --> closed
     
  • Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).