rev 8676 compile error on x64: src/network/net_message.cpp:731:26

Bug #1168429 reported by Julio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
Joris Dauphin

Bug Description

[ 57%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_message.cpp.o
/Development/Stratagus_Wargus/stratagus.8676/src/network/net_message.cpp:731:26: error:
      out-of-line definition of 'CNetworkPacket::Serialize' differs from the declaration in the return type
unsigned CNetworkPacket::Serialize(unsigned char *buf, int numcommands) const
                         ^
/Development/Stratagus_Wargus/stratagus.8676/src/include/net_message.h:455:9: note: previous
      declaration is here
        size_t Serialize(unsigned char *buf, int numcommands) const;
               ^
1 error generated.
make[3]: *** [CMakeFiles/stratagus.dir/src/network/net_message.cpp.o] Error 1
make[2]: *** [CMakeFiles/stratagus.dir/all] Error 2
make[1]: *** [CMakeFiles/stratagus.dir/rule] Error 2
make: *** [stratagus] Error 2

Revision history for this message
Joris Dauphin (joris-dauphin) wrote :

Fixed in rev.8677

Revision history for this message
Julio (artofwar) wrote :

Confirmed fixed in rev.8677

Now compiles with no errors or warnings.

Changed in stratagus:
assignee: nobody → Joris Dauphin (joris-dauphin)
status: New → Fix Committed
cybermind (iddqd-mail)
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.