URL:
<http://gna.org/bugs/?23001>
Summary: fc_types.h wants fc_config.h via nation.h
Project: Freeciv
Submitted by: i1abnrk
Submitted on: Sat 29 Nov 2014 07:07:55 PM UTC
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: GNU/Linux
Planned Release:
_______________________________________________________
Details:
I get compile errors in debug mode about fc_types.h via nation.h when
including it.
make[3]: Entering directory
'/home/zakri/dev/freeciv-trunk/freeciv-dev/ai/attitude'
CC utils.lo
In file included from ../../common/fc_types.h:22:0,
from ../../common/nation.h:24,
from utils.c:3:
../../utility/shared.h:30:2: error: #error Files including fcintl.h should
also include fc_config.h directly
#error Files including fcintl.h should also include fc_config.h directly
^
In file included from ../../utility/specenum_gen.h:123:0,
from ../../common/fc_types.h:131,
from ../../common/nation.h:24,
from utils.c:3:
../../utility/fcintl.h:22:2: error: #error Files including fcintl.h should
also include fc_config.h directly
#error Files including fcintl.h should also include fc_config.h directly
^
In file included from ../../common/fc_types.h:22:0,
from ../../common/nation.h:24,
from utils.c:3:
configure options: --enable-debug --enable-shared
--enable-aimodules=experimental --with-ai-lib
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 29 Nov 2014 07:07:55 PM UTC Name: utils.c Size: 1kB By: i1abnrk
offending c and header
<http://gna.org/bugs/download.php?file_id=23002>
-------------------------------------------------------
Date: Sat 29 Nov 2014 07:07:55 PM UTC Name: utils.h Size: 349B By: i1abnrk
offending c and header
<http://gna.org/bugs/download.php?file_id=23003>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23001>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev