Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sine performance counters example chokes on chrono headers #155

Closed
brycelelbach opened this issue Jul 10, 2012 · 1 comment
Closed

Sine performance counters example chokes on chrono headers #155

brycelelbach opened this issue Jul 10, 2012 · 1 comment

Comments

@brycelelbach
Copy link
Member

[reported by blelbach] [Trac time Thu Sep 29 01:04:21 2011] ```
^[[B/home/wash/hpx/examples/performance_counters/sine/sine.cpp: In function ‘bool hpx::components::startup_shutdown_provider::startup(boost::function<void()>&)’:
/home/wash/hpx/examples/performance_counters/sine/sine.cpp:93:1: warning: the address of ‘void performance_counters::sine::startup()’ will never be NULL [-Waddress]
Linking CXX shared library ../../../bin/libhpx_component_sine.so
[100%] Built target sine_component
Scanning dependencies of target sine_client_exe
[100%] Building CXX object examples/performance_counters/sine/CMakeFiles/sine_client_exe.dir/sine_client.cpp.o
In file included from /shared/boost/1.47.0-release/boost/chrono/detail/scan_keyword.hpp:22:0,
from /shared/boost/1.47.0-release/boost/chrono/chrono_io.hpp:25,
from /shared/boost/1.47.0-release/boost/chrono/include.hpp:16,
from /shared/boost/1.47.0-release/boost/chrono.hpp:17,
from /home/wash/hpx/examples/performance_counters/sine/sine_client.cpp:12:
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:154:53: error: expected ‘)’ before ‘u’
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:178:72: error: expected ‘)’ before ‘u’
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:211:26: error: declaration of ‘operator=’ as non-function
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:211:24: error: expected ‘;’ at end of member declaration
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:211:64: error: expected ‘)’ before ‘u’
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:75: error: expected primary-expression before ‘,’ token
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:78: error: expected primary-expression before ‘,’ token
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:81: error: expected primary-expression before ‘)’ token
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:81: error: there are no arguments to ‘BOOST_INTERPROCESS_RV_REF_2_TEMPL_ARGS’ that depend on a template parameter, so a declaration of ‘BOOST_INTERPROCESS_RV_REF_2_TEMPL_ARGS’ must be available [-fpermissive]
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:81: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:83: error: expected ‘)’ before ‘u’
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:233:84: error: declaration of ‘operator=’ as non-function
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:328:58: error: ISO C++ forbids declaration of ‘BOOST_INTERPROCESS_MOVABLE_BUT_NOT_COPYABLE’ with no type [-fpermissive]
/shared/boost/1.47.0-release/boost/interprocess/smart_ptr/unique_ptr.hpp:328:58: error: expected ‘;’ at end of member declaration
/shared/boost/1.47.0-release/boost/asio/error.hpp:244:45: warning: ‘boost::asio::error::system_category’ defined but not used [-Wunused-variable]
/shared/boost/1.47.0-release/boost/asio/error.hpp:246:45: warning: ‘boost::asio::error::netdb_category’ defined but not used [-Wunused-variable]
/shared/boost/1.47.0-release/boost/asio/error.hpp:248:45: warning: ‘boost::asio::error::addrinfo_category’ defined but not used [-Wunused-variable]
/shared/boost/1.47.0-release/boost/asio/error.hpp:250:45: warning: ‘boost::asio::error::misc_category’ defined but not used [-Wunused-variable]
/shared/boost/1.47.0-release/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
/shared/boost/1.47.0-release/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
/shared/boost/1.47.0-release/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
make[3]: *** [examples/performance_counters/sine/CMakeFiles/sine_client_exe.dir/sine_client.cpp.o] Error 1
make[2]: *** [examples/performance_counters/sine/CMakeFiles/sine_client_exe.dir/all] Error 2
make[1]: *** [CMakeFiles/examples.dir/rule] Error 2
make: *** [examples] Error 2

@brycelelbach
Copy link
Member Author

[comment by hkaiser] [Trac time Thu Sep 29 11:13:53 2011] That's a Boost bug not something we could fix.
Workaround added to rev. [5684]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant