« Return to Thread: boost::filesystem exception not caught on MacOS X

Re: boost::filesystem exception not caught on MacOS X

by Marshall Clow :: Rate this Message:

Reply to Author | View in Thread

>Marshall Clow wrote:
>>  The basic problem is that when the runtime compares type_info's to
>>  see if a catch block can catch the exception, it compares to see _if
>>  they have the same address_. This fails, of course, if a shared
>>  library and an application each have their own copy of the type_info
>>  structure. Mucking with the visibility of the symbols (your "loads of
>  > linker warnings" ) can fix this.
>
>[snip]
>
>I'm definitely using the static libs. Any hints?

If you're definitely using static libs, then the problem that I
described isn't what's wrong.
--
-- Marshall

Marshall Clow     Idio Software   <mailto:marshall@...>

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: boost::filesystem exception not caught on MacOS X