#7867 closed Bugs (fixed)
shared_ptr not usable with exceptions disabled on clang
Reported by: | Mathias Gaunard | Owned by: | Glen Fernandes |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: | pdimov@… |
Description
In file included from /home/mgaunard/dev/boost/trunk/boost/make_shared.hpp:15: In file included from /home/mgaunard/dev/boost/trunk/boost/smart_ptr/make_shared.hpp:18: In file included from /home/mgaunard/dev/boost/trunk/boost/smart_ptr/make_shared_array.hpp:13: In file included from /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_deleter.hpp:12: /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:48:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:41:13: error: cannot use 'try' with exceptions disabled try { ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:96:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:89:13: error: cannot use 'try' with exceptions disabled try { ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:109:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:102:13: error: cannot use 'try' with exceptions disabled try { ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:125:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:118:13: error: cannot use 'try' with exceptions disabled try { ^ 8 errors generated.
Change History (5)
comment:1 by , 10 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
I generally leave tickets open until the fix is merged to release. It's less likely this way for a fix to remain trunk-only.
comment:4 by , 10 years ago
I've just updated to 1.53.0, simmilar problem in different place:
/some_path/include/boost/smart_ptr/detail/shared_count.hpp:135:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:128:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:172:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:165:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:204:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:197:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:248:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:234:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:296:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:282:9: error: cannot use 'try' with exceptions disabled try ^
comment:5 by , 10 years ago
Nevermind, I see that coresponding ifndefs are present in that file, so it's something with my environment...
Note:
See TracTickets
for help on using tickets.
Fixed in [82408] (glenfe).