Opened 17 years ago
Closed 17 years ago
#439 closed Bugs (Invalid)
shared_ptr tests have warnings on linux
Reported by: | nobody | Owned by: | Peter Dimov |
---|---|---|---|
Milestone: | Component: | smart_ptr | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
1. warning: `class n_spt_abstract::X' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 2. warning: `class n_spt_shared_from_this::X' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 3. warning: `class n_spt_shared_from_this::Y' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 4. warning: `class n_spt_shared_from_this::impl' has virtual functions but non-virtual destructor Resolution: same as above Might I suggest that the Boost community crank up their warning levels and clean up their code too?
Note:
See TracTickets
for help on using tickets.