From owner-freebsd-ports Sun Apr 21 2:19: 6 2002 Delivered-To: freebsd-ports@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 6359537B400; Sun, 21 Apr 2002 02:18:59 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g3L9IuC03032; Sun, 21 Apr 2002 11:18:56 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200204210918.g3L9IuC03032@zibbi.icomtek.csir.co.za> Subject: jade does not compile on current To: kuriyama@FreeBSD.org Date: Sun, 21 Apr 2002 11:18:55 +0200 (SAT) Cc: freebsd-ports@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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