URL:
<http://gna.org/bugs/?13865>
Summary: iterator.h doesn't include the definition of type
'bool'
Project: Freeciv
Submitted by: pepeto
Submitted on: Sunday 07/05/2009 at 07:22
Category: general
Severity: 2 - Minor
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Operating System: None
_______________________________________________________
Details:
If you want to include the iterator.h header in a code file, you cannot apply
what the coding style requires. You are supposed to include the files by
alphabetic order, and iterator.h use the non-standard C type bool which is
defined in shared.h. So you have to include shared.h before iterator.h to
compile the code. Should it be possible to include shared.h in iterator.h to
fix that problem?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13865>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev