Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11280) [C++] common/packets_gen.h has struct member "c
Home

[Freeciv-Dev] (PR#11280) [C++] common/packets_gen.h has struct member "c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11280) [C++] common/packets_gen.h has struct member "class"
From: "Frédéric Brière" <fbriere@xxxxxxxxxxx>
Date: Wed, 1 Dec 2004 01:14:25 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11280 >

In common/packets_gen.h:

  struct packet_ruleset_nation {
    ...
    char class[MAX_LEN_NAME];


This is actually generated at common/packets.def:1121, and needs to be
renamed (and common/packets_gen.* regenerated).  The following will need
to be adjusted:

  server/ruleset.c: 3117  (only packet.class)
  client/packhand: 2591-2592  (only p->class)


Again, give me a name and I will lift the world (or provide a patch).


-- 
             Frédéric Brière    <*>    fbriere@xxxxxxxxxxx

 =>  <fbriere@xxxxxxxxxx> IS NO MORE:  <http://www.abacomsucks.com>  <=





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11280) [C++] common/packets_gen.h has struct member "class", Frédéric Brière <=