[Freeciv-Dev] [bug #13865] iterator.h doesn't include the definition of type 'bool'

2009-07-10 Thread Marko Lindqvist

Update of bug #13865 (project freeciv):

  Status:None = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?13865

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13865] iterator.h doesn't include the definition of type 'bool'

2009-07-05 Thread pepeto

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
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev