Opened 14 years ago

Closed 14 years ago

#2192 closed Patches (fixed)

library test does not build on QNX

Reported by: christian.leutloff@… Owned by: Gennadiy Rozental
Milestone: Boost 1.36.0 Component: test
Version: Boost 1.35.0 Severity: Showstopper
Keywords: Cc:

Description

The file boost/test/impl/execution_monitor.ipp has some build issues on QNX that are fixed through the attached patch. The small patch does not affect other platforms than QNX (testing for QNXNTO). This issue is present for boost release 1.35.0 and the latest development trunk.

These is the first error:

qcc.compile.c++ bin.v2/libs/test/build/qcc/release/threading-multi/execution_monitor.o
In file included from libs/test/src/execution_monitor.cpp:16:
boost/test/impl/execution_monitor.ipp: In function `void
   boost::detail::report_error(boost::execution_exception::error_code, const
   char*, ...)':
boost/test/impl/execution_monitor.ipp:191: error: `vsnprintf' undeclared (first
   use this function)

These are the other ones:

boost/test/impl/execution_monitor.ipp:191: error: (Each undeclared identifier
   is reported only once for each function it appears in.)
boost/test/impl/execution_monitor.ipp: In member function `void
   boost::detail::system_signal_exception::report() const':
boost/test/impl/execution_monitor.ipp:443: error: `POLL_IN' undeclared (first
   use this function)
boost/test/impl/execution_monitor.ipp:446: error: 'struct siginfo_t' has no
   member named 'si_band'
boost/test/impl/execution_monitor.ipp:448: error: `POLL_OUT' undeclared (first
   use this function)
boost/test/impl/execution_monitor.ipp:451: error: 'struct siginfo_t' has no
   member named 'si_band'
boost/test/impl/execution_monitor.ipp:453: error: `POLL_MSG' undeclared (first
   use this function)
boost/test/impl/execution_monitor.ipp:456: error: 'struct siginfo_t' has no
   member named 'si_band'
boost/test/impl/execution_monitor.ipp:458: error: `POLL_ERR' undeclared (first
   use this function)
boost/test/impl/execution_monitor.ipp:461: error: 'struct siginfo_t' has no
   member named 'si_band'
boost/test/impl/execution_monitor.ipp:463: error: `POLL_PRI' undeclared (first
   use this function)
boost/test/impl/execution_monitor.ipp:466: error: 'struct siginfo_t' has no
   member named 'si_band'
boost/test/impl/execution_monitor.ipp:468: error: `POLL_HUP' undeclared (first
   use this function)
boost/test/impl/execution_monitor.ipp:471: error: 'struct siginfo_t' has no
   member named 'si_band'

and

boost/test/impl/execution_monitor.ipp: In constructor `
   boost::detail::signal_action::signal_action(int, bool, bool, char*)':
boost/test/impl/execution_monitor.ipp:546: error: `SA_ONSTACK' undeclared
   (first use this function)

Attachments (1)

build_executions_monitor_with_QNX.diff (1.0 KB ) - added by christian.leutloff@… 14 years ago.

Download all attachments as: .zip

Change History (2)

by christian.leutloff@…, 14 years ago

comment:1 by Gennadiy Rozental, 14 years ago

Resolution: fixed
Status: newclosed

(In [48776]) QNX fix #2192

Note: See TracTickets for help on using tickets.