Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 09:29:31 +0100
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Use GCC only for specific ARCH
Message-ID:  <20141210082930.GA92094@elch.exwg.net>
In-Reply-To: <5488002D.6080200@morante.net>
References:  <5488002D.6080200@morante.net>

next in thread | previous in thread | raw e-mail | index | archive | help
## Daniel Morante (daniel@morante.net):

> I have a port that builds fine on a 9.3 amd64, but on 9.3 i386 it fails 
> on this line:
> 
> inline int64 GetMaxMoney() { return nBestHeight <= HARDFORK_HEIGHT_1 ? 
> 50000000000 * COIN : 25000000000 * COIN; }
> 
> With the following error:
> 
> "integer constant is too large for 'long' type"

I believe the fix is to make sure those constants are interpreted as
"long long", e.g. by post-fixing LL.

Regards,
Christoph

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141210082930.GA92094>