Re: [Freeciv-Dev] (PR#39479) warning: type qualifiers ignored on function return type

2007-08-02 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39479 

Marko Lindqvist wrote:
 gcc version 4.1.3 20070718 (prerelease) (Debian 4.1.2-14)
 
Another damn gcc 4 incompatibility!

const returns on functions are/were standard C practice to indicate
that the value should not change

Apparently, they changed to an attribute to indicate const'edness:

__attribute_const__

You can get rid of the warning with:

-Wno-return-type

But, I'll make the changes anyway.  It will continue to bite us, as
it has other projects all year (according to a quick search).

http://gcc.gnu.org/ml/gcc-help/2007-06/msg00151.html

(and a lot of debian messages, too)

Thanks for checking!



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


Re: [Freeciv-Dev] (PR#39479) warning: type qualifiers ignored on function return type

2007-08-02 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39479 

Committed revision 13136.



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


[Freeciv-Dev] (PR#39477) svn version 13132 breaks tilesets?

2007-08-02 Thread Guest

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39477 

 [wsimpson - Tue Jul 31 06:51:16 2007]:
 
 Michael Fay wrote:
  I am unable to get any tileset to work with the current svn version 
  (13132).
  
 All the included tilesets are working here
 
 
  With Amplio
  
 Including Amplio, at this very moment.
 
 
 1: tilespec file appears incompatible:
 file: ./amplio.tilespec
 file options: +tilespec4.2007.Jul.13
  
  If the options line is modified, then get:
  
 0: sectionfile ./amplio.tilespec doesn't contain a 'layer0.match_style' 
  entry
  
  If at line 100 and 104 I added
  match_style = BOOL
  
  then get
 1: No terrain types supported by tileset.
  
  Am now stuck.
  
 The trunk tilespec added new features again on Jul.31.  Please look at
 the copious messages on this list, included at the nice website.
 
 The amplio tilespec doesn't need any more modifications to run, all the
 changes have already been made, and are distributed from svn.
 
 Are you sure you installed correctly?
 
 
 

I believe so, unless using svn update has become the incorrect way.
I'd also note that I registered this bug on Mon Jul 30 19:01:30, so nice
new features uploaded on the 31st won't have caused it. 

I also renamed my original amplio tileset and went through the svn
update - the new amplio also didn't work. 

I have also downloaded today's snapshot (2nd August) into a separate
folder, and tried that separately. The tilesets here also do not work:

[]$ civclient -t amplio
1: tilespec file appears incompatible:
file: ./amplio.tilespec
file options: +tilespec4.2007.Jul.13
supported options: +tilespec4 duplicates_ok
0: No usable default tileset found, aborting!

I have also redone svn update, now at Updated to revision 13136. With
these nice, shiny new tileset updates, I get

[]$ civclient
0: No usable default tileset found, aborting!

Are you sure the necessary updates have been uploaded to svn? The latest
amplio.tilespec I have got from svn, having deleted the previous file
before doing svn update, still doesn't contain a 'layer0.match_style' entry.

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