[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [porting-dev] Compiling Error in PPC with gcc-3.2



Hi Kevin .. 


On Wed, Aug 07, 2002 at 10:11:06PM -0400, Kevin B. Hendricks wrote:
>I think there is some misunderstanding.
>
>Our OOo tree officially has the following in it in memmgr.cxx
>
>std::new_handler
>SAL_CALL std::set_new_handler (std::new_handler pfnHandler)  throw ()
>{
>        std::new_handler f = g_pfnHandler;
>        g_pfnHandler = pfnHandler;
>        return f;
>}
>
>But for some reason your version is showing the "throw ()"" commented out.  
>I posted a gcc 3.1.1 patch that did exactly this but it should have never 
>made it into any tree since all it did was workaround a gcc 3.1.1 pre 
>compiler problem (gcc headers never had the throw() which was actually 
>spec (set_new_handler may not throw any exceptions according to the rules) 
>but gcc was never picky about the throw specifier before 3.1.1 pre.
>
>So please back out the patch in memmgr.cxx (probably that came from my gcc 
>3.1.1 patch) that comments out the throw() on the set_new_handler code (to 
>make it look like it did previously) and you should be fine.

I so sorry to bother you .. I forget to drop one the patches  :)

Sorry .. the build went on .. thnx 

	Regards
			Jan

-- 
  .''`.    Jan-Hendrik Palic     |
 : :' : ** Debian GNU/ Linux **  |   ** OpenOffice.org **       ,.. ,..
 `. `'   http://www.debian.org   | http://www.openoffice.org  ,: ..`   `
   `-  jan.palic@linux-debian.de |                           '  `  `

Attachment: pgptPY5lqZIzW.pgp
Description: PGP signature


Reply to: