From owner-freebsd-ports@FreeBSD.ORG Sun Nov 13 00:45:29 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACE4316A41F for ; Sun, 13 Nov 2005 00:45:29 +0000 (GMT) (envelope-from tim-lists@bishnet.net) Received: from carrick.bishnet.net (carrick.bishnet.net [84.234.16.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB4343D45 for ; Sun, 13 Nov 2005 00:45:28 +0000 (GMT) (envelope-from tim-lists@bishnet.net) Received: from inferno.sixth.bishnet.net ([82.68.45.195] helo=localhost.localdomain) by carrick.bishnet.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.54 (FreeBSD)) id 1Eb5zn-000NPU-F1 for freebsd-ports@freebsd.org; Sun, 13 Nov 2005 00:45:23 +0000 From: Tim Bishop To: freebsd-ports@freebsd.org Content-Type: text/plain Date: Sun, 13 Nov 2005 00:45:19 +0000 Message-Id: <1131842719.51762.5.camel@inferno.sixth.bishnet.net> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean X-Bishnet-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.747, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.65, BAYES_00 -2.60) X-Bishnet-MailScanner-From: tim-lists@bishnet.net Subject: Problem compiling against OpenSSL 0.9.8a with gcc 3.4.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 00:45:29 -0000 I'm trying to update the port mail/gnubiff, and I'm running in to some issues compiling. I get a bunch of errors like this: /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long' I'm using 5.4 i386, with gcc 3.4.2 (base system) and OpenSSL 0.9.8a from ports. This error doesn't occur in my tinderbox builds for 4, 5, 6, or 7, so it must be something about the state on my system. I've currently bodged around it by setting CXXFLAGS to -Wno-long-long, which turns off the "errors". From reading around I think they should be warnings, but there's an issue with the -pedantic flag? http://gcc.gnu.org/ml/gcc/2003-08/msg00847.html Any further suggestions on what to do about this? Cheers, Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984