[interprocess] inteprocess_exception is not defined

The header interprocess/sync/posix/interprocess_recursive_mutex.hpp uses inteprocess_exception which is not defined: bash-2.03$ find boost -name "*.hpp" -exec grep inteprocess_exception {} \; throw inteprocess_exception(system_error_code()); bash-2.03$ Because of this, some interprocess library tests fail to compile on HP-UX. Whether the fact that the offending code in the header is "visible" on HP-UX indicates some configuration problem on this platform, is a different question. Thanks, Boris

Boris Gubenko escribió:
The header interprocess/sync/posix/interprocess_recursive_mutex.hpp uses inteprocess_exception which is not defined:
bash-2.03$ find boost -name "*.hpp" -exec grep inteprocess_exception {} \; throw inteprocess_exception(system_error_code()); bash-2.03$
Because of this, some interprocess library tests fail to compile on HP-UX.
Whether the fact that the offending code in the header is "visible" on HP-UX indicates some configuration problem on this platform, is a different question.
I saw these errors yesterday and I added the needed include to inteprocess_recursive_mutex and inteprocess_mutex. I'm waiting to see if that has fixed something. Regards, Ion

Ion Gaztanaga wrote:
I saw these errors yesterday and I added the needed include to inteprocess_recursive_mutex and inteprocess_mutex. I'm waiting to see if that has fixed something.
It does not seem to be fixed. You can see it on the trunk test results for HP-UX_ia64_gcc. Thanks, Boris ----- Original Message ----- From: "Ion Gaztañaga" <igaztanaga@gmail.com> To: <boost@lists.boost.org> Sent: Saturday, October 27, 2007 5:12 AM Subject: Re: [boost] [interprocess] inteprocess_exception is not defined Boris Gubenko escribió:
The header interprocess/sync/posix/interprocess_recursive_mutex.hpp uses inteprocess_exception which is not defined:
bash-2.03$ find boost -name "*.hpp" -exec grep inteprocess_exception {} \; throw inteprocess_exception(system_error_code()); bash-2.03$
Because of this, some interprocess library tests fail to compile on HP-UX.
Whether the fact that the offending code in the header is "visible" on HP-UX indicates some configuration problem on this platform, is a different question.
I saw these errors yesterday and I added the needed include to inteprocess_recursive_mutex and inteprocess_mutex. I'm waiting to see if that has fixed something. Regards, Ion _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Boris Gubenko escribió:
Ion Gaztanaga wrote:
I saw these errors yesterday and I added the needed include to inteprocess_recursive_mutex and inteprocess_mutex. I'm waiting to see if that has fixed something.
It does not seem to be fixed. You can see it on the trunk test results for HP-UX_ia64_gcc.
I see. But don't know what to do now;-) Regards, Ion

Ion Gaztanaga wrote:
I see. But don't know what to do now;-)
After closer examination, it turned out to be a typo in interprocess_recursive_mutex.hpp -- see patch below. Ok to commit? Index: posix/interprocess_recursive_mutex.hpp =================================================================== --- posix/interprocess_recursive_mutex.hpp (revision 40632) +++ posix/interprocess_recursive_mutex.hpp (working copy) @@ -112,7 +112,7 @@ int res = 0; res = pthread_mutex_lock(&m_mut); if(res != 0){ - throw inteprocess_exception(system_error_code()); + throw interprocess_exception(system_error_code()); } assert(res == 0); Thanks, Boris ----- Original Message ----- From: "Ion Gaztañaga" <igaztanaga@gmail.com> To: <boost@lists.boost.org> Sent: Wednesday, October 31, 2007 11:15 AM Subject: Re: [boost] [interprocess] inteprocess_exception is not defined Boris Gubenko escribió:
Ion Gaztanaga wrote:
I saw these errors yesterday and I added the needed include to inteprocess_recursive_mutex and inteprocess_mutex. I'm waiting to see if that has fixed something.
It does not seem to be fixed. You can see it on the trunk test results for HP-UX_ia64_gcc.
I see. But don't know what to do now;-) Regards, Ion _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Done. Thanks, Boris ----- Original Message ----- From: "Ion Gaztañaga" <igaztanaga@gmail.com> To: <boost@lists.boost.org> Sent: Thursday, November 01, 2007 7:38 AM Subject: Re: [boost] [interprocess] inteprocess_exception is not defined Boris Gubenko escribió:
Ion Gaztanaga wrote:
I see. But don't know what to do now;-)
After closer examination, it turned out to be a typo in interprocess_recursive_mutex.hpp -- see patch below.
Ok to commit?
Sure. Thanks again for your help. Ion _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Boris Gubenko
-
Ion Gaztañaga