[Xapian-tickets] [Xapian] #766: Difficulty installing by Github in a centos 7

Xapian nobody at xapian.org
Tue Jul 17 22:41:58 BST 2018


#766: Difficulty installing by Github in a centos 7
----------------------+-------------------------------
 Reporter:  jmarques  |             Owner:  olly
     Type:  defect    |            Status:  closed
 Priority:  normal    |         Milestone:  1.5.0
Component:  Other     |           Version:  git master
 Severity:  normal    |        Resolution:  fixed
 Keywords:            |        Blocked By:
 Blocking:            |  Operating System:  Linux
----------------------+-------------------------------
Changes (by olly):

 * keywords:  Installation =>
 * status:  new => closed
 * version:  1.4.6 => git master
 * resolution:   => fixed
 * milestone:  1.4.x => 1.5.0


Comment:

 This is due to a compiler warning.  In developer builds, we enable
 `-Werror` automatically to stop new warnings creeping in, so that warning
 is promoted to an error, as the `[-Werror=unused-parameter]` at the end of
 this line indicates:

 {{{
 /root/git/testing/xapian/xapian-core/api/result.h:30:7: error: unused
 parameter ‘o’ [-Werror=unused-parameter]
 }}}

 It looks like GCC 4.8.2 warns about unused parameters on `default`-ed
 methods, while GCC newer versions don't (even GCC 4.8.4 in Ubuntu trusty
 doesn't which is what our CI builds use).  I've pushed a fix in
 8417528eb9d0a6f3e00fcc97bfa33c4ae5083dae.

 This code isn't present in the 1.4 branch, so nothing to backport.

 (BTW, it's not a good idea to do software development work as root.  Only
 do things as root that require root access.)

--
Ticket URL: <https://trac.xapian.org/ticket/766#comment:1>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list