bad code with boost::signals
Bug #75724 reported by
Ludovico Cavedon
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| gcc |
Unknown
|
Medium
|
|||
| boost (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| gcc-4.1 (Suse) |
Fix Released
|
Medium
|
|||
Bug Description
Binary package hint: g++-4.1
This version of gcc is producing bad code when using slots and trackable from boost.
In detail, automatic slot disconnection upon object destruction is not
working right.
I am attaching a test case and the correct output.
It is bad with:
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
but correct with
gcc-4.0 (GCC) 4.0.4 20060630 (prerelease) (Ubuntu 4.0.3-4)
and
gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-3ubuntu1)
I am using Ubuntu/edgy
| Changed in gcc: | |
| status: | Unknown → Unconfirmed |
| Changed in gcc-4.1: | |
| status: | Unknown → In Progress |
| Changed in gcc-4.1: | |
| status: | In Progress → Fix Released |
| Changed in boost: | |
| status: | New → Fix Released |
| Changed in gcc-4.1 (Suse): | |
| importance: | Unknown → Medium |
| Changed in gcc: | |
| importance: | Unknown → Medium |
| Changed in gcc: | |
| status: | New → Unknown |
To post a comment you must log in.

See https:/ /bugzilla. novell. com/show_ bug.cgi? id=228524 for the same bug against OpenSuse.
Dave.