[sword-devel] SWORD 1.7.0RC2

Jaak Ristioja jaak at ristioja.ee
Mon Aug 12 02:55:19 MST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think we are relatively safe to assume that these are at least of
type long (or unsigned long) and at least 32 bits wide. I doubt Sword
will be ported to 16- or 8-bit architectures.

God bless!
Jaak

On 12.08.2013 12:44, Troy A. Griffitts wrote:
> Sorry, one more for gcc:
> 
> http://gcc.gnu.org/onlinedocs/cpp/If.html#If
> 
> 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 
>>> 21.47.483.647.
>> 
>> 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'.
>> 
>> http://msdn.microsoft.com/en-us/library/ew2hz0yd.aspx
>> 
>> Thought?
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________ sword-devel
>> mailing list: sword-devel at crosswire.org 
>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> 
> _______________________________________________ sword-devel mailing
> list: sword-devel at crosswire.org 
> http://www.crosswire.org/mailman/listinfo/sword-devel Instructions
> to unsubscribe/change your settings at above page
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQgcBAEBAgAGBQJSCLEDAAoJEEqsYmEt1rCO2Lo//jN3QRDZld8gxWA43ZvKUShY
CMAY1k5E67XInBRgF/0y3mxlEa2j2c0GhWrUAmPFwtl0zkAfwTwT7eb2mmReTw25
ZkwyDMzJ0UbrRlmH2rHoEseBiqphXhSBT9iuj92GEfKkGHvs8vlWAZoC8naPLHb5
xEjonMPsrrAcIFC/APv9ijl6XW8hsKLLYfYW4KcRaFrOzv0ViaiQjNk2YjP7b8gS
T62ZGf0bikoRK8IlD4o62hd4YDMfXigVvWeHsppDNgK/FnZ3RGfdDn7t3KMtGJZf
m/SD81qHsADu4Jrr7y7OrVS8Aqa9JhDgFeYAbq+a5xB9g44UD6KWUVdRemyJJrsH
LkjrZfvNkVgEoXAr3l/Wjwj9uNAQMsO3co5S4pVO2V/Bkpd5hqM9z+h2l/GnaBcw
RZu/LZ9bHN20pwW+t2zG6ExIs3EG/4nftrhOFqIN+ypKkWJecooFZEDVTLgT4+iG
EVlTFR7yYdXV9ED+75MuWfBQEyZo5Kt9agcC98aTbG4wi9UAi76JEwpu6BmedQKX
PYAOTRp1p/vms3eai7Kg06YHh2pu3znr9yv6ha+dWXRYSALY9D+eJp8G0raVJIc/
I7UaBrg8n2yLPJIEmoyc3JTaMjcpK7RO1b8G4Y6zKTscEg3yoZP08kPS37Ax0y1r
hK2Ot5n8pWz7WQ0EIRet/Y+It72EQzuBd03ZLRIo2d/xFLN7jvsnNOZ4Y87mTHTr
9vZHNDvTyY2p8YwkEIk3pZv7FGi9Lyr8C5cLf9GbebKsGNm9bpbZ7NNA0W0ep+5b
j63UK4+AHv2hlCchw4EsxpPnPFz27AHDvO+ZyLFGKRF3Vd+SoZl1tqYfr54T4leq
TrSuoWB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uYEaBE5fsMKs1
ZDhOiIyG8fZfAj6jXOfvwdqwV0XT2MXwU64YlUY4KzCAS5fzQFxiljFsBPaVds8k
AaFR3r+i/xFVAQX2cT9c7/j7mmsw2Rx6wdi2LBZNxQthxao7Yua38JmxNy+EkcTx
RPvFGn9rXa8eRiVK20HjXGytKLoJLitO3Gz+3QqIfnNpHPkAad8C1vwhCs2dg7Hx
ID4wkN9b5lB0EsmBNHpxtrkYcMdVZ2qvUdkp5poEaqhrdySs3ymxVrMThZea5OCe
VTZn/bq0wlXFu6352V/6zZtuziTDmJz8Q++lAjoPeADWvRABH3HmIkzroLOVns9V
gT7IJFZWR5ZrV1jWZKghuq+0UTeLvIkVm7lIQyGl+D2/s4r395WabG/uB7SUjWic
yrIKwNMVE1g5doMptXNJOoECVzs8RCVBiJMsALy9R5Gc89NPKxEKoy3AWta6df0c
wWFY5FPVQAA1j3D7xY2V7sAuRgYKsmNlA8RusoLZvQnjby+ezK0bmYczweuRTe+C
pG71TIYs+g3lIP+fZoUdQMrS2KBMioAj0Xnl/DudZAuSXxS2CbmxrCULUqNOEE14
yu6H2zw4Na0flEJShf25ZEFQKBuMiXKIi621Ua5ncYpnsQHzPvfIktZGVLZr8gFt
6oDkiktCLERWATxnSdPjKcIlpmyohMFaA0lo02u7BUrbhStF0kcg4LQKHwGpYGBA
Sb82zwFO5HP6D4Wb6wYPnIETkhCBeD8FkU7Xi/r7jQCRqkevBV1rFCKkfvt/pGY4
VaeXyCzyOv9oaSlhEbP4
=PFK8
-----END PGP SIGNATURE-----



More information about the sword-devel mailing list