[sword-devel] SWORD 1.7.0RC2
Troy A. Griffitts
scribe at crosswire.org
Mon Aug 12 02:44:04 MST 2013
Sorry, one more for gcc:
On 08/12/2013 11:42 AM, Troy A. Griffitts wrote:
> On 08/12/2013 10:46 AM, Jaak Ristioja wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> On 12.08.2013 10:34, Troy A. Griffitts wrote:
>>> OK, I've put together a scheme which moves the new version macros
>>> into our swversion.h file. The new scheme goes out to 4 segments
>>> as we support in the SWVersion class. Here are the defines.
>>> Please add your comments and ask question, but I hope these will be
>>> self-explanitory. My only concert about SWORD_VERSION_NUM is the
>>> possible size we might get to if we ever get to 5.0. Don't know
>>> how compilers handle macro checking on values over 4GB.
>>> #define SWORD_VERSION_NUM 106902000
>> In C++03 preprocessing (translation phase 4) happens before things are
>> converted into C++ tokens (phase 7). Hence this should cause no
>> trouble during preprocessing. After that, if the literal without a
>> suffix fits into an int, it is an int. If it fits into (long int) it
>> is a long int. Otherwise the behavior is undefined. In case its type
>> would be a 32-bit signed integer type, our maximum version would be
> I know this is a microsoft site, but I'm not sure we're safe from
> their comment: "The /constant-expression/ is an integer constant
> expression..." But then in the same section mentions 'long'.
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sword-devel