To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=53572
------- Additional comments from [EMAIL PROTECTED] Fri Dec 2 18:12:14 -0800 2005 ------- In message "[Issue 53572] MinGW port efforts and information for SRC680 codeline", [EMAIL PROTECTED] wrote... >@maho: bad idea. malloc() needs a corresponding free() while alloca() does not, >thus we would leak. And please don't think of preprocessor solutions at all, >they are generally a pain in the... when debugging. What do you think of using following MACROs in the critical .cxx only? Such a module usually uses many alloca's and requires so many "#ifdef"s. It may alittle bit hurt debugging. #ifdef BROKEN_ALLOCA #define ALLOCA malloc #define FREE_ALLOCA(p) (free(p)) #else #define ALLOCA alloca #define ALLOCA malloc #define FREE_ALLOCA(p) #endif tono (Takashi Ono) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]