[MacPorts] #41688: hugin-app fails to compile
MacPorts
noreply at macports.org
Wed Dec 4 09:08:24 PST 2013
#41688: hugin-app fails to compile
---------------------+--------------------------------
Reporter: david@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: hugin-app
---------------------+--------------------------------
Hugin-app fails to build on a clean mavericks install
port -v
MacPorts 2.2.1
snip from log
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_graphics_hugin-app/hugin-
app/work/hugin-2013.0.0/src/foreign/zthread/src/ThreadQueue.cxx:146:7:
warning: add explicit braces to avoid dangling else [-Wdangling-else]
:info:build else
:info:build ^
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_graphics_hugin-app/hugin-
app/work/hugin-2013.0.0/src/foreign/zthread/src/ThreadOps.cxx:52:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_graphics_hugin-app/hugin-
app/work/hugin-2013.0.0/src/foreign/zthread/src/posix/ThreadOps.cxx:106:13:
warning: using the result of an assignment as a condition without
parentheses [-Wparentheses]
:info:build if(result = (pthread_getschedparam(impl->_tid, &policy,
¶m) == 0)) {
:info:build
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_graphics_hugin-app/hugin-
app/work/hugin-2013.0.0/src/foreign/zthread/src/posix/ThreadOps.cxx:106:13:
note: place parentheses around the assignment to silence this warning
:info:build if(result = (pthread_getschedparam(impl->_tid, &policy,
¶m) == 0)) {
:info:build ^
:info:build (
)
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_graphics_hugin-app/hugin-
app/work/hugin-2013.0.0/src/foreign/zthread/src/posix/ThreadOps.cxx:106:13:
note: use '==' to turn this assignment into an equality comparison
:info:build if(result = (pthread_getschedparam(impl->_tid, &policy,
¶m) == 0)) {
:info:build ^
:info:build ==
:info:build 1 warning generated.
:info:build 1 warning generated.
:info:build Linking CXX static library libZThread.a
--
Ticket URL: <https://trac.macports.org/ticket/41688>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list