Bug #2685

Building of httpserver.c on OSX 10.10.3 fails due to -Werror=address

Added by Leonid Protasov over 5 years ago. Updated over 5 years ago.

Status:FixedStart date:06/13/2015
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:General
Target version:4.10
Found in version:4.9.524 Platform:OS X

Description

The same problem is solved in http://code.opencv.org/issues/4048

Associated revisions

Revision ac5d043e
Added by Andreas Smas over 5 years ago

httpserver: Don't incorrectly take address of struct member

Fixes #2685

Change included in version 4.9.533

History

#1 Updated by Leonid Protasov over 5 years ago

I changed the code:

if(!hc->hc_my_addr)

to:

if(!hc->hc_my_addr[0])

And movian is compiled :)

#2 Updated by Andreas Smas over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF