On Tue, 24 Jun 2003 01:35:57 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> On Mon, 23 Jun 2003 22:46:26 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote: NB> NB> > I have absolutely no idea about what is going on :-( You don't have msdev NB> > or any other debugger able to read MS debugging info by chance? I've never NB> > tried it but the Digital Mars one is supposed to be able to do it... NB> NB> I managed to compile debug version with cygwin. I get an assert when choosing NB> preferences, but the program does not crash: ... NB> (gdb) bt NB> #0 0x77f762e9 in ?? () NB> #1 0x100d6651 in ShowAssertDialog (szFile=0x4f03e4 ".src/gui/wxOptionsDlg.cpp", NB> nLine=2971, szCond=0x4f9060 "(sizeof(ms_aConfigDefaults)/sizeof(ms_aConfigDefau NB> lts[0])) == ConfigField_Max", szMsg=0x4f9039 "defaults array size mismatch") at NB> ../wxWindows/src/common/appcmn.cpp:587 ... NB> It is the same assert which I reported earlier with Linux version - Sorry, I must have missed it. In any case, I don't understand anything at all: this assert means that the arrays were not in sync during compile time but at least when compiling with VC++ they surely are, otherwise I'd get it here as well. So we have 2 bugs: 1. for some reason the arrays are not in sync when compiling with cygwin 2. VC++ compiled version crashes for unknown reason NB> And then smth strange in prefs - in Compose tab Default reply kind is empty, NB> Reply string is "0", Forward string is "Re:". Off by 1 error somewhere. This is because of (1) above. I have absolutely no idea as to why are they different for cygwin... Try inserting printf("Defaults array size = %d\n" "Fields number = %d\n", WXSIZEOF(ms_aConfigDefaults), ConfigField_Max); somewhere or looking these values up under gdb -- what are they? Thanks, VZ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers