patchFreeciv - Patches: patch #3705, Use FC_STATIC_ASSERT() in dataio.c...

Show feedback again

patch #3705: Use FC_STATIC_ASSERT() in dataio.c for type size checking

Submitted by:  pepeto <pepeto>
Submitted on:  Sat Feb 16 17:55:01 2013  
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: pepeto <pepeto>Open/Closed: Closed
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Feb 19 09:11:22 2013, SVN revision 22384:

Use FC_STATIC_ASSERT() compilation time assertion instead of fc_assertion()
running time assertion to check uintX_t sizes in "common/dataio.c".

See gna patch #3705.

(Browse SVN revision 22384)

pepeto <pepeto>
Project MemberIn charge of this item.
Sat Feb 16 17:55:01 2013, original submission:

For dio_put_uintXXX(), this patch replace fc_assert() by FC_STATIC_ASSERT(), as for dio_get_uintXXX().

pepeto <pepeto>
Project MemberIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by pepeto (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Feb 19 09:11:33 2013pepetoStatusReady For Test=>Done
    Sat Feb 16 17:55:01 2013pepetoAttached File-=>Added 0003-Replace-fc_assert-sizeof-checkup-by-FC_STATIC_ASSERT.patch, #17219
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup