Opened 11 years ago
Closed 11 years ago
#5521 closed Bugs (fixed)
build error in scoped_connection(MacOS)
| Reported by: | Owned by: | Marshall Clow | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | signals |
| Version: | Boost 1.46.1 | Severity: | Problem |
| Keywords: | Cc: |
Description
Code which use the swap method of scoped_connection get a linker error(at least on MacOS with GCC 4.0).
This attached patch fixed it.
Attachments (1)
Change History (3)
by , 11 years ago
| Attachment: | boost_signals_fix_link_error.patch added |
|---|
comment:1 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Here's my test program:
#include <boost/signals/connection.hpp> int main ( int argc, char *argv [] ) { boost::signals::scoped_connection c1, c2; std::swap ( c1, c2 ); return 0; }This compiles, links and runs (Mac OS X 10.6.7, gcc 4.2.1). Do you have an simple program that fails?