> >
> > > But I get 5 errors:
> > >
All points but last had been fixed. One can take our last
pre-release 1.01
> > > 1)G__ci.h (line 558): type cannot be defined or declared in return
> > > type.
> > > 2) global.h (line 498): linkage specification is different from
> > > previous declaration in G__security(line 86)
> > 3) win32_win32listviewctl.cpp(line 224): too many initialisers.
> const Int_t formats[sizeof(EListFmt)] = {LVCFMT_LEFT, LVCFMT_LEFT,
It should be like this:
const Int_t formats[] = {LVCFMT_LEFT, LVCFMT_LEFT,
What about the last one
> > > 4) win32_win32treeviewctl.cpp(line 224): missing return value.
> > > Should you not put the 'return 0' statement after the 'if' ? Then it
> > > works.
> Sorry. This line number should have been 242.
Well I wonder you mentioned this piece of code and Watcom wants to
see "return" after "if". I think it is better to remove "if" at all.
It was left to remind things but apparently it is no use to compile
code itself.
Int_t TWin32TreeViewCtrl::OnItemExpanded(LPNM_TREEVIEWlParam)
{
return 0;
if (TreeView_GetChild(fhwndWindow,lParam->itemNew.hItem))return 0;
}
Make it like this:
Int_t TWin32TreeViewCtrl::OnItemExpanded(LPNM_TREEVIEWlParam)
{
return 0;
#if 0
if (TreeView_GetChild(fhwndWindow,lParam->itemNew.hItem))return 0;
#endif
}
I hope this way Watcom must be happy too.
Thank you very much for you kind assistance it helps to make code
cleaner.
=================================================================
Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for NuclearRes Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su
Dr. Valeri Faine
------------ Phone: +41 22 767 6468
CERN FAX : +41 22 767 7910
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine