Boost Interprocess error on Solaris sun studio 12

Hi, Currently my company are having issues compiling Boost Interprocess 1.42 on Solaris sun Studio. I see from Boost documentation that this compiler is not listed as having been used to build Interprocess: i.e. * Visual 7.1 Windows XP * Visual 8.0 Windows XP * GCC 4.1.1 MinGW * GCC 3.4.4 Cygwin * Intel 9.1 Windows XP * GCC 4.1.2 Linux * GCC 3.4.3 Solaris 11 * GCC 4.0 MacOs 10.4.1 I have also seen from this next thread that there is a bug logged against this issue as posted from someone with a similar issue: http://forums.oracle.com/forums/thread.jspa?threadID=1992480&tstart=45 "Unfortunately, your problem is one of the outstanding issues with Boost that we have not yet resolved. This one is bug number 6954828, generated internally, and not visible at bugs.sun.com. Fixing bugs that prevent Boost from compiling is a priority item for us, but I can't predict when a fix for this problem will be available." This was posted a year ago so i am wondering has this been fixed in recent Boost editions or plans to? If not is there a recommended workaround? (outside the posts suggested flag changes "-D_POSIX_C_SOURCE=4 -D_XPG4 -D_XPG4_2" which are unpredictable to other parts of our system) thanks for any suggestions, /aidan ======= Errors i see: "/spare/integra/thirdparty/include/boost/interprocess/mapped_region.hpp", line 549: Error: Formal argument 1 of type char* in call to shmdt(char*) is being passed void*. "/spare/integra/thirdparty/include/boost/interprocess/shared_memory_object.hpp", line 284: Error: The function "shm_open" must have a prototype. "/spare/integra/thirdparty/include/boost/interprocess/shared_memory_object.hpp", line 307: Error: The function "shm_unlink" must have a prototype.

El 07/03/2011 16:06, aidan mcgurn escribió:
Hi,
Currently my company are having issues compiling Boost Interprocess 1.42 on Solaris sun Studio. I see from Boost documentation that this compiler is not listed as having been used to build Interprocess:
Sorry, the compiler is not conforming enough to support Interprocess. I'm afraid you won't be able to use Interprocess until the conformance improves. Best, Ion

Hi Ion,
thanks for the reply.
Do you know when Boost Interprocess will be fixed for Sun Studio?
rgds,
/aidan
--- On Tue, 8/3/11, Ion Gaztañaga
From: Ion Gaztañaga
Subject: Re: [Boost-users] Boost Interprocess error on Solaris sun studio 12 To: boost-users@lists.boost.org Date: Tuesday, 8 March, 2011, 10:30 El 07/03/2011 16:06, aidan mcgurn escribió: Hi,
Currently my company are having issues compiling Boost Interprocess 1.42 on Solaris sun Studio. I see from Boost documentation that this compiler is not listed as having been used to build Interprocess:
Sorry, the compiler is not conforming enough to support Interprocess. I'm afraid you won't be able to use Interprocess until the conformance improves.
Best,
Ion _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On Mar 8, 2011, at 4:52 AM, aidan mcgurn wrote:
--- On Tue, 8/3/11, Ion Gaztañaga
wrote: aidan mcgurn wrote:
Hi,
Currently my company are having issues compiling Boost Interprocess 1.42 on Solaris sun Studio. I see from Boost documentation that this compiler is not listed as having been used to build Interprocess:
Sorry, the compiler is not conforming enough to support Interprocess. I'm afraid you won't be able to use Interprocess until the conformance improves.
Hi Ion, thanks for the reply. Do you know when Boost Interprocess will be fixed for Sun Studio? rgds, /aidan
Adian - I read Ion's reply differently than you did. I think he's saying that until the Sun Studio compiler improves, Boost.Interprocess will not be usable on that compiler. -- Marshall Marshall Clow Idio Software mailto:mclow.lists@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki

Hi Marshall,
thanks, ok i see;
i'll look further into the -D XPG4/POSIX_C_SOURCE options when compiling Boost on sun studio to see how well it gets around the problems.
rgds,
/aidan
--- On Tue, 8/3/11, Marshall Clow
From: Marshall Clow
Subject: Re: [Boost-users] Boost Interprocess error on Solaris sun studio 12 To: boost-users@lists.boost.org Date: Tuesday, 8 March, 2011, 14:08 On Mar 8, 2011, at 4:52 AM, aidan mcgurn wrote: --- On Tue, 8/3/11, Ion Gaztañaga
wrote: aidan mcgurn wrote:
Hi,
Currently my company are having issues compiling Boost Interprocess 1.42 on Solaris sun Studio. I see from Boost documentation that this compiler is not listed as having been used to build Interprocess:
Sorry, the compiler is not conforming enough to support Interprocess. I'm afraid you won't be able to use Interprocess until the conformance improves.
Hi Ion, thanks for the reply. Do you know when Boost Interprocess will be fixed for Sun Studio? rgds, /aidan
Adian -
I read Ion's reply differently than you did.
I think he's saying that until the Sun Studio compiler improves, Boost.Interprocess will not be usable on that compiler.
-- Marshall
Marshall Clow Idio Software mailto:mclow.lists@gmail.com
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

El 08/03/2011 15:08, Marshall Clow escribió:
I read Ion's reply differently than you did.
I think he's saying that until the Sun Studio compiler improves, Boost.Interprocess will not be usable on that compiler.
Yes, that's the idea, I have no time to make fixes for all compilers, so I test it on nearly-conforming and most used ones. Best, Ion
participants (3)
-
aidan mcgurn
-
Ion Gaztañaga
-
Marshall Clow