Re: implement workaround for header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/10/2013 03:41 AM, Gavin Smith wrote:
Do users of your library have to use what is declared in
<boost/exception_ptr.hpp>; equivalently, do they have to include this
file to use your library? If not, there wouldn't be a problem - the
source for your library could include an alternative header file, but
it wouldn't have to be installed - it is only needed when the library
itself is compiled.
Hi Gavin,

Yes, unfortunately the boost header file is included in an installed header file. The functionality is not used by users directly though, but inclusion is required because the Class holds a private 'boost::mutex'. I could probably have changed that by hiding the members in a pimpl pattern. But I've already implemented a fix that installs the patched header files and uses the original header file if possible

http://dev.thep.lu.se/yat/changeset?reponame=&new=3045%40trunk%2Fyat%2Futility%2Fboost_exception_ptr.h&old=3044%40trunk%2Fyat%2Futility%2Fboost_exception_ptr.h

Cheers,
Peter

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux