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 16 Jan 2014 07:54:05 PM UTC  
 
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.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu 05 Jun 2014 09:39:34 PM UTC, 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 05 Jun 2014 09:39:26 PM UTC, 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 01 Jun 2014 06:54:40 PM UTC, 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 30 May 2014 07:00:38 PM UTC, comment #1:

Fix

(file #20869)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu 16 Jan 2014 07:54:05 PM UTC, 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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Jun 2014 09:39:47 PM UTCcazfiStatusReady For Test=>Fixed
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sun 01 Jun 2014 06:54:40 PM UTCcazfiAttached File-=>Added LuasqlAlignment.patch, #20903
    Fri 30 May 2014 07:00:38 PM UTCcazfiAttached 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