c++.beta - DMC++ 8.45.4
- Walter (2/2) Sep 03 2005 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
- Włodzimierz Skiba (59/61) Sep 05 2005 Hi Walter!
- Walter Bright (3/3) Sep 05 2005 The first two are clearly bugs and I have enough info to fix them. #3, I
- Walter Bright (6/12) Sep 05 2005 have
- Walter Bright (4/7) Sep 05 2005 AFAIK
http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip http://www.digitalmars.com/download/freecompiler.html
Sep 03 2005
"Walter" <newshound digitalmars.com> wrote in news:dfbq93$2ql8$1 digitaldaemon.com:http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip http://www.digitalmars.com/download/freecompiler.htmlHi Walter! I have updated my local DMC to 8.45.4 (from 8.45.2) and found following problems in test builds of wxWidgets I maintain. Note that I have none C++ standards so I'm not sure whether DMC went now into "correct" way ot brought something which was legal. At least my Open Watcom 1.3, Borland, VC 7 and GCC build did not report these problems (however DMC could reasonable to _warn_ about them which did not happened in other compilers). 1. "Error: 'i' already defined": for (int i = 0; i < images; i++) { .... if ( image->HasMask() ) { .... } else { .... int i, j; for (i = 0; i < mask.GetWidth(); k++) for (j = 0; j < mask.GetHeight(); j++) mask.SetRGB(i, j, 0, 0, 0 ); } .... } 2. "Error: 'mark' is already defined" - while in case 1) it was clear that first 'int i' conflicted with second 'int i'. But in this case mark 'was' of different type: wxHtmlContainerCell *mark = c; .... if (m_Numbering == 0) { .... } else { .... wxString mark; mark.Printf(wxT("%i."), m_Numbering); c->InsertCell(new wxHtmlWordCell(mark, *(m_WParser->GetDC()))); } 3. "Error: ambiguous reference to symbol" wxRegKey key; wxString str = key; ^ Error: ambiguous reference to symbol Class wxRegKey has operator bool() and operator wxString(), see http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/include/wx/msw/registry.h?annotate=1.33 4. Internal error: eh 759 I will try to track this down but this is more time consuming than I have time so if you have any suggestion how I could improve my searching for minimal duplication of this internal error then it could be great. Also note that this internal error could be earlier than than 8.45.2 because happened in a build variant I did not run recently. Thanks for keeping progress of DMC. Impressive! BTW: There was recently released http://www.wxwidgets.org/book/ which AFAIK includes DMC on CD. Would be great to see it menationed on http://www.digitalmars.com/bibliography.html :-) ABX
Sep 05 2005
"Włodzimierz Skiba" <abx abx.art.pl> wrote in message news:dfhv9g$25r0$1 digitaldaemon.com...4. Internal error: eh 759 I will try to track this down but this is more time consuming than Ihavetime so if you have any suggestion how I could improve my searching for minimal duplication of this internal error then it could be great. Also note that this internal error could be earlier than than 8.45.2becausehappened in a build variant I did not run recently.I rewrote how destructors for subobjects were handled in destructors. So that might be the problem.
Sep 05 2005
"Włodzimierz Skiba" <abx abx.art.pl> wrote in message news:dfhv9g$25r0$1 digitaldaemon.com...BTW: There was recently released http://www.wxwidgets.org/book/ whichAFAIKincludes DMC on CD. Would be great to see it menationed on http://www.digitalmars.com/bibliography.html :-)Done!
Sep 05 2005