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

Reference to temporary with GCC 4.4 #247

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

Reference to temporary with GCC 4.4 #247

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

Comments

@brycelelbach
Copy link
Member

[reported by blelbach] [Trac time Wed Nov 2 13:25:20 2011] ```
In file included from /shared/boost/1.47.0-release/boost/make_shared.hpp:15,
from /home/wash/hpx/hpx/runtime/agas/addressing_service.hpp:17,
from /home/wash/hpx/hpx/runtime/naming/resolver_client.hpp:11,
from /home/wash/hpx/hpx/runtime/components/component_factory_base.hpp:15,
from /home/wash/hpx/hpx/runtime/components/server/runtime_support.hpp:21,
from /home/wash/hpx/hpx/runtime/components/stubs/runtime_support.hpp:14,
from /home/wash/hpx/hpx/runtime/components/stubs/stub_base.hpp:11,
from /home/wash/hpx/hpx/performance_counters/stubs/performance_counter.hpp:10,
from /home/wash/hpx/hpx/include/performance_counters.hpp:14,
from /home/wash/hpx/src/runtime/threads/threadmanager.cpp:15:
/shared/boost/1.47.0-release/boost/smart_ptr/make_shared.hpp: In function ‘T&& boost::detail::sp_forward(T&) [with T = bool]’:
/shared/boost/1.47.0-release/boost/smart_ptr/make_shared.hpp:167: instantiated from ‘boost::shared_ptr boost::make_shared(Arg1&&, Args&& ...) [with T = boost::atomic, Arg1 = bool, Args = ]’
/home/wash/hpx/src/runtime/threads/threadmanager.cpp:582: instantiated from ‘hpx::threads::thread_state_enum hpx::threads::threadmanager_impl<SchedulingPolicy, NotificationPolicy>::at_timer(const TimeType&, void_, hpx::threads::thread_state_enum, hpx::threads::thread_state_ex_enum, hpx::threads::thread_priority) [with TimeType = boost::posix_time::ptime, SchedulingPolicy = hpx::threads::policies::global_queue_scheduler, NotificationPolicy = hpx::threads::policies::callback_notifier]’
/home/wash/hpx/src/runtime/threads/threadmanager.cpp:634: instantiated from ‘void_ hpx::threads::threadmanager_impl<SchedulingPolicy, NotificationPolicy>::set_state(const boost::posix_time::ptime&, void*, hpx::threads::thread_state_enum, hpx::threads::thread_state_ex_enum, hpx::threads::thread_priority, hpx::error_code&) [with SchedulingPolicy = hpx::threads::policies::global_queue_scheduler, NotificationPolicy = hpx::threads::policies::callback_notifier]’
/home/wash/hpx/src/runtime/threads/threadmanager.cpp:1361: instantiated from here
/shared/boost/1.47.0-release/boost/smart_ptr/make_shared.hpp:104: warning: returning reference to temporary


Is this benign?

GCC 4.4.6 (Debian), Boost 1.47.0, HPX r6182
@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Fri Dec 9 17:33:38 2011] Appears to be harmless.

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