[Freeciv-Dev] [bug #24810] Compilation warning with GCC 6.1

2016-06-30 Thread Marko Lindqvist
Update of bug #24810 (project freeciv):

  Status:  Ready For Test => Fixed  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 

___

Follow-up Comment #4:

Committed as r33129-r33131

___

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 #24810] Compilation warning with GCC 6.1

2016-06-28 Thread Marko Lindqvist
Update of bug #24810 (project freeciv):

Category:None => bootstrap  
  Status:None => Ready For Test 
 Planned Release: => 2.5.5, 2.6.0, 3.0.0

___

Follow-up Comment #3:

Earlier we silenced the warning in --enable-debug builds only. Attached patch
should do it always.

(file #27738, file #27739)
___

Additional Item Attachment:

File name: NonnullSilenceAlways.patch Size:1 KB
File name: NonnullSilenceAlways-S2_5.patch Size:1 KB


___

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 #24810] Compilation warning with GCC 6.1

2016-06-28 Thread Louis Moureaux
Follow-up Comment #2, bug #24810 (project freeciv):

Sorry. It's current trunk, with the following configure options:

--enable-client=qt --enable-fcmp=qt --with-qt5-includes=/usr/include/qt
--no-create --no-recursion


I'm on Arch Linux.

___

Reply to this item at:

  

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #24810] Compilation warning with GCC 6.1

2016-06-27 Thread Marko Lindqvist
Follow-up Comment #1, bug #24810 (project freeciv):

Which version of freeciv? What configure options have you used?

___

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 #24810] Compilation warning with GCC 6.1

2016-06-27 Thread Louis Moureaux
URL:
  

 Summary: Compilation warning with GCC 6.1
 Project: Freeciv
Submitted by: louis94
Submitted on: mar. 28 juin 2016 00:24:56 UTC
Category: None
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: 
 Contains string changes: None

___

Details:

Repeated many times
~~
In file included from shared.h:27:0,
 from fciconv.h:22,
 from support.c:102:
support.c: Dans la fonction ‘fc_vsnprintf’:
log.h:149:6: warning: nonnull argument ‘str’ compared to NULL
[-Wnonnull-compare]
   if (!(condition)) {  
\
  ^
log.h:182:3: note : in expansion of macro ‘fc_assert_full’
   fc_assert_full(__FILE__, __FUNCTION__, __FC_LINE__, condition, action,   
\
   ^~
log.h:189:3: note : in expansion of macro ‘fc_assert_action’
   fc_assert_action(condition, return val)
   ^~~~
support.c:814:3: note : in expansion of macro ‘fc_assert_ret_val’
   fc_assert_ret_val(NULL != str, -1);
   ^
~~

gcc --version
~~
gcc (GCC) 6.1.1 20160602
~~




___

Reply to this item at:

  

___
  Message posté via/par Gna!
  http://gna.org/


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