Date: Sun, 21 Apr 2002 11:18:55 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: kuriyama@FreeBSD.org Cc: freebsd-ports@FreeBSD.org Subject: jade does not compile on current Message-ID: <200204210918.g3L9IuC03032@zibbi.icomtek.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi, I'm trying to get releases with docs working on -current, but jade does not want to build. It breaks because exit() is being declared different in assert.cxx than in stdlib.h. I don't know c++, so I don't know if I can just delete the line in assert.cxx or if there is some other magic that would work. The line that cause the problem is actually part of patch-assert.cxx and looks like this: void exit (int __status) throw () __attribute__ ((__noreturn__)); The compile error looks like this: ##### c++ -O -pipe -march=pentiumpro -fno-implicit-templates -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c assert.cxx -fPIC -DPIC -o assert.lo assert.cxx:9: declaration of `exit(int)' throws different exceptions /usr/include/stdlib.h:103: previous declaration here gmake[2]: *** [assert.lo] Error 1 gmake[2]: Leaving directory `/export/ports/textproc/jade/work/jade-1.2.1/lib' gmake[1]: *** [lib] Error 2 gmake[1]: Leaving directory `/export/ports/textproc/jade/work/jade-1.2.1' gmake: *** [all] Error 2 *** Error code 2 ##### John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204210918.g3L9IuC03032>