Follow-up Comment #2, patch #2418 (project freeciv):
This change appears to have broken compilation of the Qt client on my system.
If I either disable that client or revert the change, everything builds fine.
I'm guessing that it's to do with the different struct/typedef namespace
rules in C and C++ -- we now have the typedef "tech_vector" (tech.h) and the
struct "tech_vector" (ai.h) -- but I confess I don't know the rules in detail
make: Entering directory `/home/jtn/src/freeciv/git/client/gui-qt'
In file included from ../../common/requirements.h:23,
../../common/tech.h:145: error: conflicting declaration ‘typedef struct
../../common/ai.h:38: error: ‘struct tech_vector’ has a previous
declaration as ‘struct tech_vector’
make: *** [chatline.lo] Error 1
make: Leaving directory `/home/jtn/src/freeciv/git/client/gui-qt'
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list