bugFreeciv - Bugs: bug #21492, luasql mysql backend compile error...

 
 
Show feedback again

bug #21492: luasql mysql backend compile error with clang

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu Jan 16 19:54:05 2014  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: Operating System: None
Planned Release: 2.5.0, 2.6.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.

 

Thu Jun 5 21:39:34 2014, SVN revision 25052:

Fixed clang compiler warning on luqsql MySQL backend.

See bug #21492

(Browse SVN revision 25052)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Jun 5 21:39:26 2014, SVN revision 25051:

Fixed clang compiler warning on luqsql MySQL backend.

See bug #21492

(Browse SVN revision 25051)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun Jun 1 18:54:40 2014, comment #2:

- Get the math right (this is actually an older, never before submitted, patch I found from my patches-in-progress directory)

(file #20903)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Fri May 30 19:00:38 2014, comment #1:

Fix

(file #20869)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Jan 16 19:54:05 2014, original submission:

dependencies/luasql/src/ls_mysql.c:285:13: error: cast
from 'char ' to 'int ' increases required alignment from 1 to 4
[-Werror,-Wcast-align]
int ref = (int )((char *)cur + off);

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #20903:  LuasqlAlignment.patch added by cazfi (596B - text/x-diff)
file #20869:  AlignLuasqlMysql.patch added by cazfi (591B - text/x-diff)

 

Depends on the following items: None found

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -unavailable- added by cazfi (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jun 5 21:39:47 2014cazfiStatusReady For Test=>Fixed
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sun Jun 1 18:54:40 2014cazfiAttached File-=>Added LuasqlAlignment.patch, #20903
    Fri May 30 19:00:38 2014cazfiAttached File-=>Added AlignLuasqlMysql.patch, #20869
      CategoryNone=>general
      StatusNone=>Ready For Test
      Planned Release=>2.5.0, 2.6.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup