Thread overview
[bug] dmc 8.50.3n Internal error: struct 2169
May 08, 2007
Arjan Knepper
May 08, 2007
Walter Bright
Oct 05, 2007
chris elliott
Oct 06, 2007
Walter Bright
Oct 06, 2007
chris elliott
Oct 26, 2007
chris elliott
May 08, 2007
This one makes almost all boost lib fail to compile and IIRC didn't appear with te 8.49 version.



compile the code with:
dmc -cpp -c -gl -S -Ae -Ar -ND ie2169.cpp

//---------------------------------------------------------------- namespace ut_detail {

struct unused {};

template<typename R>
struct callback0_impl {
    virtual ~callback0_impl() {}
};


template<typename R, typename Functor>
struct callback0_impl_t : callback0_impl<R> {
    explicit callback0_impl_t( Functor f ) : m_f( f ) {}

private:
    Functor m_f;
};

} // namespace ut_detail

template<typename R = ut_detail::unused>
class callback0 {
public:
    callback0() {}

    template<typename Functor>
    callback0( Functor f )
      : m_impl( new  ut_detail::callback0_impl_t< R, Functor >( f
 ) ) {}

private:
    ut_detail::callback0_impl< R >  *m_impl;
};


struct test_main_caller {
    test_main_caller( int argc, char** argv ) {}

private:
    // Data members
    int      m_argc;
    char**   m_argv;
};


int main ( int  argc,  char *argv [] )
{
   callback0 <> ( test_main_caller( argc, argv ) );

   return ( 0 );
}
May 08, 2007
Arjan Knepper wrote:
> This one makes almost all boost lib fail to compile and IIRC didn't
> appear with te 8.49 version.

Thanks, I'll investigate it.
October 05, 2007
Walter Bright wrote:
> Arjan Knepper wrote:
>> This one makes almost all boost lib fail to compile and IIRC didn't
>> appear with te 8.49 version.
> 
> Thanks, I'll investigate it.
Any news of this ? I have seen the same thing:

dmc -mn -c -cpp -odmc_mswud\baselib_strvararg.obj -g -o+none -D_WIN32_WINNT=0x04
00 -D__WXMSW__ -D__WXDEBUG__  -D_UNICODE -I..\..\lib\dmc_lib\mswud -I..\..\inclu
de -w- -DWXBUILDING  -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png -
I..\..\src\zlib  -I..\..\src\regex -I..\..\src\expat\lib -DwxUSE_GUI=0 -DwxUSE_B
ASE=1 -Ar -Ae  -H -HP99 -HO- -HHdmc_mswud\pch_wxprec_baselib.sym ..\..\src\com
mon\strvararg.cpp
Internal error: struct 2169


C:\wx\wxwidgets\build\msw>scppn
Digital Mars C/C++ Compiler Version 8.50.3n

chris
October 06, 2007
chris elliott wrote:
> Walter Bright wrote:
>> Arjan Knepper wrote:
>>> This one makes almost all boost lib fail to compile and IIRC didn't
>>> appear with te 8.49 version.
>>
>> Thanks, I'll investigate it.
> Any news of this ?

Not yet, sorry.
October 06, 2007
under wxWidgets svn, from a checkout the wxWidgets trunk using https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/

rev 45992 was ok, the next change was rev 46612 which broke compilation
chris

chris elliott wrote:
> Walter Bright wrote:
>> Arjan Knepper wrote:
>>> This one makes almost all boost lib fail to compile and IIRC didn't
>>> appear with te 8.49 version.
>>
>> Thanks, I'll investigate it.
> Any news of this ? I have seen the same thing:
> 
> dmc -mn -c -cpp -odmc_mswud\baselib_strvararg.obj -g -o+none -D_WIN32_WINNT=0x04
> 00 -D__WXMSW__ -D__WXDEBUG__  -D_UNICODE -I..\..\lib\dmc_lib\mswud -I..\..\inclu
> de -w- -DWXBUILDING  -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png -
> I..\..\src\zlib  -I..\..\src\regex -I..\..\src\expat\lib -DwxUSE_GUI=0 -DwxUSE_B
> ASE=1 -Ar -Ae  -H -HP99 -HO- -HHdmc_mswud\pch_wxprec_baselib.sym ..\..\src\com
> mon\strvararg.cpp
> Internal error: struct 2169
> 
> 
> C:\wx\wxwidgets\build\msw>scppn
> Digital Mars C/C++ Compiler Version 8.50.3n
> 
> chris
October 26, 2007

there was no bug with scppn 9.49.4n

chris

chris elliott wrote:
> under wxWidgets svn, from a checkout the wxWidgets trunk using https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/
> 
> rev 45992 was ok, the next change was rev 46612 which broke compilation
> chris
> 
> chris elliott wrote:
>> Walter Bright wrote:
>>> Arjan Knepper wrote:
>>>> This one makes almost all boost lib fail to compile and IIRC didn't
>>>> appear with te 8.49 version.
>>>
>>> Thanks, I'll investigate it.
>> Any news of this ? I have seen the same thing:
>>
>> dmc -mn -c -cpp -odmc_mswud\baselib_strvararg.obj -g -o+none -D_WIN32_WINNT=0x04
>> 00 -D__WXMSW__ -D__WXDEBUG__  -D_UNICODE -I..\..\lib\dmc_lib\mswud -I..\..\inclu
>> de -w- -DWXBUILDING  -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png -
>> I..\..\src\zlib  -I..\..\src\regex -I..\..\src\expat\lib -DwxUSE_GUI=0 -DwxUSE_B
>> ASE=1 -Ar -Ae  -H -HP99 -HO- -HHdmc_mswud\pch_wxprec_baselib.sym ..\..\src\com
>> mon\strvararg.cpp
>> Internal error: struct 2169
>>
>>
>> C:\wx\wxwidgets\build\msw>scppn
>> Digital Mars C/C++ Compiler Version 8.50.3n
>>
>> chris