c++.announce - DM C/C++ 8.40 release
- Walter (2/2) Feb 20 2004 Fixes wxWindows build breaks.
- W這dzimierz Skiba (8/10) Feb 23 2004 Thanks for all of your support.
- W這dzimierz Skiba (4/13) Jul 14 2004 Just a reminder that another DMC beta did not fixed it.
- Jan Knepper (11/28) Jul 14 2004 Hey it is a WARNING...
- W這dzimierz Skiba (8/15) Jul 15 2004 I know.
- Jan Knepper (11/35) Jul 15 2004 I can understand that, but that warning is not something we control.
- W這dzimierz Skiba (6/7) Jul 15 2004 But timestamps suggests that about 10 files in win32 were already modifi...
- Jan Knepper (10/22) Jul 15 2004 That will work some some, not all DMC users...
- Walter (5/14) Jul 16 2004 Using the dmc switch:
- Sergey Gutnikov (55/57) Feb 25 2004 Dear Walter,
- Sergey Gutnikov (97/99) Feb 25 2004 Dear Walter,
- Sergey Gutnikov (8/10) Feb 25 2004 Dear Walter,
- Phill (3/5) Feb 27 2004 Walter, you must be working 24 hours a day..........
Fixes wxWindows build breaks. http://www.digitalmars.com/compiler.htm
Feb 20 2004
"Walter" <walter digitalmars.com> wrote in news:c16pbh$2d3a$1 digitaldaemon.com:Fixes wxWindows build breaks.Thanks for all of your support.http://www.digitalmars.com/compiler.htmMAPI_LONG_MSGID definition in win32/mapi.h cause warning: /* #define MAPI_LONG_MSGID 0x00004000 /* allow 512 char returned ID */ ^ h:\dmc\BIN\..\include\win32\mapi.h(161) : Warning 3: comments do not nest ABX
Feb 23 2004
"W這dzimierz Skiba" <abx abx.art.pl> wrote in news:c1cuno$1c2n$2 digitaldaemon.com:Just a reminder that another DMC beta did not fixed it. Regards, ABXhttp://www.digitalmars.com/compiler.htmMAPI_LONG_MSGID definition in win32/mapi.h cause warning: /* #define MAPI_LONG_MSGID 0x00004000 /* allow 512 char returned ID */ ^ h:\dmc\BIN\..\include\win32\mapi.h(161) : Warning 3: comments do not nest
Jul 14 2004
W這dzimierz Skiba wrote:"W這dzimierz Skiba" <abx abx.art.pl> wrote in news:c1cuno$1c2n$2 digitaldaemon.com:Hey it is a WARNING... /* ... */ comments do not nest! So just change the M$ include file (mapi.h) and solve the problem that way if it is that important to you. Jan -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.orgJust a reminder that another DMC beta did not fixed it. Regards, ABXhttp://www.digitalmars.com/compiler.htmMAPI_LONG_MSGID definition in win32/mapi.h cause warning: /* #define MAPI_LONG_MSGID 0x00004000 /* allow 512 char returned ID */ ^ h:\dmc\BIN\..\include\win32\mapi.h(161) : Warning 3: comments do not nest
Jul 14 2004
Jan Knepper <jan smartsoft.us> wrote in news:cd4cnp$jp9$1 digitaldaemon.com:I know.Just a reminder that another DMC beta did not fixed it. Regards, ABXHey it is a WARNING... /* ... */ comments do not nest!So just change the M$ include file (mapi.h) and solve the problem that way if it is that important to you.Being wxWidgets developer responsible for delivering wxWidgets in warning free form under all free compilers I care about quality delivered to the users. I can't change mapi.h in user's instalations. I do not care for such a warning for myself. ABX
Jul 15 2004
W這dzimierz Skiba wrote:Jan Knepper <jan smartsoft.us> wrote in news:cd4cnp$jp9$1 digitaldaemon.com:I can understand that, but that warning is not something we control. Just add a release note that if the users want this warning to disappear to change this particular line in the M$ header file (mapi.h). You also might want to report it to M$. Jan -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.orgI know.Just a reminder that another DMC beta did not fixed it. Regards, ABXHey it is a WARNING... /* ... */ comments do not nest!So just change the M$ include file (mapi.h) and solve the problem that way if it is that important to you.Being wxWidgets developer responsible for delivering wxWidgets in warning free form under all free compilers I care about quality delivered to the users. I can't change mapi.h in user's instalations. I do not care for such a warning for myself. ABX
Jul 15 2004
Jan Knepper <jan smartsoft.us> wrote in news:cd5nr8$1ui8$1 digitaldaemon.com:I can understand that, but that warning is not something we control.But timestamps suggests that about 10 files in win32 were already modified after 1996 year (which can be easily verified comparing latest beta with dm81dc.zip ftp). ABX
Jul 15 2004
W這dzimierz Skiba wrote:Jan Knepper <jan smartsoft.us> wrote in news:cd5nr8$1ui8$1 digitaldaemon.com:That will work some some, not all DMC users... I use one of the much later M$ SDK's and have to make changes to header files to prevent these warnings. I know there are others out there that also use more recent SDK's... -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.orgI can understand that, but that warning is not something we control.But timestamps suggests that about 10 files in win32 were already modified after 1996 year (which can be easily verified comparing latest beta with dm81dc.zip ftp). ABX
Jul 15 2004
"W這dzimierz Skiba" <abx abx.art.pl> wrote in message news:c1cuno$1c2n$2 digitaldaemon.com..."Walter" <walter digitalmars.com> wrote in news:c16pbh$2d3a$1 digitaldaemon.com:Using the dmc switch: -w3 will disable the warning.Fixes wxWindows build breaks.Thanks for all of your support.http://www.digitalmars.com/compiler.htmMAPI_LONG_MSGID definition in win32/mapi.h cause warning: /* #define MAPI_LONG_MSGID 0x00004000 /* allow 512 char returned ID */ ^ h:\dmc\BIN\..\include\win32\mapi.h(161) : Warning 3: comments do not nest
Jul 16 2004
In article <c16pbh$2d3a$1 digitaldaemon.com>, Walter says...Fixes wxWindows build breaks. http://www.digitalmars.com/compiler.htmDear Walter, Thanks for a new version of compiler! Please check following code, it looks like a compiler bug: //--- "nested_friend.cpp": class C { public: C() {}; }; class A: public C { private: class B: public C { protected: friend class A; A* m_pThis; public: B( A & a ): m_pThis(&a) {} int IncCnt() { return ++( m_pThis->m_Counter ); } int DecCnt() { return --( m_pThis->m_Counter ); } }; public: A(): m_Counter(0) {} protected: friend class B; int m_Counter; private: }; //--- eof "nested_friend.cpp" Compilation result: dmc -v -c nested_friend.cpp scppn -Aa- -6 -v nested_friend.cpp Digital Mars C/C++ Compiler Version 8.40.2n Copyright (C) Digital Mars 2000-2004. All Rights Reserved. Written by Walter Bright www.digitalmars.com 'nested_friend.cpp' class __nt_context class __eh_cv class C C::C class A class A::B friend class B; ^ nested_friend.cpp(27) : Error: cannot change access of member A::B A::B::B A::B::IncCnt A::B::DecCnt A::A --- errorlevel 1 Regards... Sergey Gutnikov
Feb 25 2004
In article <c16pbh$2d3a$1 digitaldaemon.com>, Walter says...Fixes wxWindows build breaks. http://www.digitalmars.com/compiler.htmDear Walter, Please check following example, it causes run-time error in debug version when linked under DMC 8.40 with SNND.lib. I have prepared it as console application, but similar error appear in MFC GUI application (which works fine with version 8.37). //--- "dbg_heap.cpp": #include <stdio.h> #define _CRTDBG_MAP_ALLOC 1 #include <crtdbg.h> template<class TYPE> class TArray { TYPE * m_pBuf; unsigned long m_Size; unsigned long m_PgSize; public: TArray( unsigned long nInitSize = 0, unsigned long nPgSize = 16 ); ~TArray(); void Allocate( unsigned long nSize ); void Free(); }; template <class TYPE> void TArray<TYPE>::Free() { if ( m_Size > 0 ) { delete [] m_pBuf; //^^^^^^^^^^^^^ *** Error here! m_Size = 0; } }; template <class TYPE> void TArray<TYPE>::Allocate( unsigned long nSize ) { if ( nSize > 0 ) { m_pBuf = new TYPE [nSize]; m_Size = nSize; } }; template <class TYPE> TArray<TYPE>::TArray( unsigned long nInitSize, unsigned long nPgSize ) { if ( nPgSize < 16 ) { nPgSize = 16; } m_PgSize = nPgSize; if ( nInitSize == 0 ) { m_pBuf = NULL; m_Size = 0; } else { Allocate( nInitSize ); } }; template <class TYPE> TArray<TYPE>::~TArray() { Free(); }; typedef struct tree_item { void * ti; tree_item(); } tree_item_t; tree_item::tree_item() : ti(NULL) { } typedef TArray<tree_item_t> TTreeItemArray_t; void test( void ) { TTreeItemArray_t hChildItems( 64, 64 ); } int main() { _CrtSetReportMode( _CRT_WARN, _CRTDBG_MODE_FILE ); _CrtSetReportFile( _CRT_WARN, _CRTDBG_FILE_STDOUT ); _CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_FILE ); _CrtSetReportFile( _CRT_ERROR, _CRTDBG_FILE_STDOUT ); _CrtSetReportMode( _CRT_ASSERT, _CRTDBG_MODE_FILE ); _CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDOUT ); printf( "test()\n" ); test(); printf( "done...\n" ); _CrtDumpMemoryLeaks(); } //--- eof "dbg_heap.cpp" The example has been compiled with following flags: dmc -cpp -Ae -r -mn -C -WA -S -a8 -gh -D_DEBUG=1 -NLsnnd dbg_heap.cpp Thanks in advance. Regards... Sergey Gutnikov
Feb 25 2004
In article <c16pbh$2d3a$1 digitaldaemon.com>, Walter says...Fixes wxWindows build breaks. http://www.digitalmars.com/compiler.htmDear Walter, (Sorry, it's me again...) Possibly a bug: The DMC version 8.40 does not embed to .obj-file includelib statements from precompiled headers. Thanks in advance, Sergey Gutnikov
Feb 25 2004
Walter, you must be working 24 hours a day.......... "Walter" <walter digitalmars.com> wrote in message news:c16pbh$2d3a$1 digitaldaemon.com...Fixes wxWindows build breaks. http://www.digitalmars.com/compiler.htm
Feb 27 2004