Re: QT Problem

Zdenek Kabelac <[email protected]>
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <[email protected]>
On Tue, Jul 22, 2003 at 12:35:13PM -0400, Justin Piszcz wrote:
> i think it is your test progrma does not work with GCC-3.3?
> 
                  from configure:10238:
> /usr/include/stdlib.h:610: error: declaration of `void exit(int) throw ()'
>    throws different exceptions
> configure:10233: error: than previous declaration `void exit(int)'
> configure: failed program was:
> #line 10231 "configure"
> #include "confdefs.h"
> #ifdef __cplusplus
> extern "C" void exit(int);
> #endif
> 

Ahh - this is known issue of the problem with old autotools - are you using
version autoconf2.13 ?

there are three files in this tool:
 
$ rgrep "extern \"C\" void exit(int)" .
./autoheader.m4f:extern "C" void exit(int);
./autoconf.m4f:extern "C" void exit(int);
./acgeneral.m4:extern "C" void exit(int);

which do contain this wrong declaration - so you either should
replace it with new definition (append throw() )
or use newer  autoconf2.5x

-- 
  .''`.
 : :' :    Zdenek Kabelac  kabi@{debian.org, users.sf.net, fi.muni.cz}
 `. `'           Debian GNU/Linux maintainer - www.debian.{org,cz}
   `-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.