[Freeciv-Dev] [bug #20717] lbaselib.c:37:14: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result

2013-04-06 Thread Jacob Nevins
Update of bug #20717 (project freeciv):

  Status:None => Duplicate  
 Open/Closed:Open => Closed 

___

Follow-up Comment #3:

See also bug #20632; closing this as duplicate.

___

Reply to this item at:

  

___
  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 #20717] lbaselib.c:37:14: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result

2013-04-06 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #20717 (project freeciv):

I can use system lua for opensuse >= 12.2. On this distributions lua 5.2 is
available. Thus svn2_5 is not build for opensuse 12.1 anymore.

see:
https://build.opensuse.org/project/monitor?project=home%3Asyntron%3Afreeciv

___

Reply to this item at:

  

___
  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 #20717] lbaselib.c:37:14: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result

2013-04-06 Thread Jacob Nevins
Follow-up Comment #1, bug #20717 (project freeciv):

Bleh, another warning in upstream Lua.

Is there any scope on OpenSUSE for using --enable-sys-lua and depending on a
prepackaged Lua? If such exists, presumably they'll have already dealt with
this warning.

___

Reply to this item at:

  

___
  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 #20717] lbaselib.c:37:14: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result

2013-04-05 Thread Matthias Pfafferodt
URL:
  

 Summary: lbaselib.c:37:14: error: ignoring return value of
'fwrite', declared with attribute warn_unused_result
 Project: Freeciv
Submitted by: syntron
Submitted on: Sat 06 Apr 2013 12:25:15 AM CEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.5.svn.22676
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:


[  209s] make[4]: Entering directory
`/home/abuild/rpmbuild/BUILD/freeciv-2.5.svn.22676/dependencies/lua-5.2/src'
[  209s]   CC lapi.lo
[  211s]   CC lauxlib.lo
[  215s]   CC lbaselib.lo
[  215s] lbaselib.c: In function 'luaB_print':
[  215s] lbaselib.c:37:14: error: ignoring return value of 'fwrite', declared
with attribute warn_unused_result [-Werror=unused-result]
[  215s] lbaselib.c:38:5: error: ignoring return value of 'fwrite', declared
with attribute warn_unused_result [-Werror=unused-result]
[  215s] lbaselib.c:41:3: error: ignoring return value of 'fwrite', declared
with attribute warn_unused_result [-Werror=unused-result]
[  215s] cc1: all warnings being treated as errors


see
https://build.opensuse.org/package/live_build_log?arch=i586&package=freeciv-2.5svn&project=home%3Asyntron%3Afreeciv&repository=openSUSE_12.1




___

Reply to this item at:

  

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


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