URL:
  <http://gna.org/bugs/?22349>

                 Summary: Actions.c mixing enum types
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Tue 15 Jul 2014 11:03:59 AM EEST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

There's new clang warnings from action.c that might be a typo/copypaste
error:

common/actions.c:136:24: error: implicit conversion from enumeration type
'enum action_actor_kind' to different enumeration type 'enum
action_target_kind' [-Werror,-Wenum-conversion]
  action->actor_kind = AAK_UNIT;
                     ~ ^~~~~~~~

common/actions.c:150:30: error: implicit conversion from enumeration type
'enum action_target_kind' to different enumeration type 'enum
action_actor_kind' [-Werror,-Wenum-conversion]
  return actions[action_id]->actor_kind;
  ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22349>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to