D - unexplained crash.
0x00414694 referenced memory 0 (could not be read) the last outputs from the compiler where (and it was an error, I was trying to compile more of the MS comm interface definitions) .\src/test\OAIDL_ported.d(477): basic type expected, not struct .\src/test\OAIDL_ported.d(477): no identifier for declarator .\src/test\OAIDL_ported.d(477): semicolon expected 3 make[1]: *** [obj/src/test/MSHTMHST_ported.obj] Error 1 ------------ offending src snippit ------------- +/ typedef struct DISPPARAMS { VARIANTARG * rgvarg; DISPID * rgdispidNamedArgs; UINT cArgs; UINT cNamedArgs; } /+ ------------ ------------- strangly if the code is repeated twice then he compiler does not crash .\src/test\OAIDL_ported.d(477): basic type expected, not struct .\src/test\OAIDL_ported.d(477): no identifier for declarator .\src/test\OAIDL_ported.d(477): semicolon expected 3 .\src/test\OAIDL_ported.d(484): basic type expected, not struct .\src/test\OAIDL_ported.d(484): no identifier for declarator .\src/test\OAIDL_ported.d(484): semicolon expected 3 .\src/test\OAIDL_ported.d: struct DISPPARAMS conflicts with OAIDL_ported.DISPPAR AMS at .\src/test\OAIDL_ported.d make[1]: *** [obj/src/test/MSHTMHST_ported.obj] Error 1
Jul 31 2003
Thanks for the report, but I can't fix from code snippets. I need reproducible examples. Having a snippet means I have to guess at what the context is, and guesses are time consuming and more often than not fail to reproduce the problem. Thanks, -Walter
Jul 31 2003