Boost C++ Libraries: Ticket #1066: Patch to make Boost.Python compile on SunCC https://svn.boost.org/trac10/ticket/1066 <p> Without the patch, SunCC gets confused between the template and overload versions of getattr. Probably legitimately because "abcd" has a type of char(&amp;)<a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a> which matches the template type as well as the overload (by conversion?). Anyway, IANA C++ L so here it is. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1066 Trac 1.4.3 s.somani@… Tue, 26 Jun 2007 03:36:06 GMT attachment set https://svn.boost.org/trac10/ticket/1066 https://svn.boost.org/trac10/ticket/1066 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">3_py_suncc.patch</span> </li> </ul> <p> Patch for SunCC 11 to compile class.cpp </p> Ticket Eric Niebler Wed, 11 Jul 2007 01:53:13 GMT component changed; owner set https://svn.boost.org/trac10/ticket/1066#comment:1 https://svn.boost.org/trac10/ticket/1066#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Dave Abrahams</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">Python</span> </li> </ul> Ticket Dave Abrahams Thu, 26 Jun 2008 20:52:26 GMT status changed https://svn.boost.org/trac10/ticket/1066#comment:2 https://svn.boost.org/trac10/ticket/1066#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Dave Abrahams Sat, 28 Nov 2009 07:16:34 GMT owner, status changed https://svn.boost.org/trac10/ticket/1066#comment:3 https://svn.boost.org/trac10/ticket/1066#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Dave Abrahams</span> to <span class="trac-author">Sohail Somani</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> </ul> <p> Sohail -- I think SunCC might be wrong. The type of the string literal is *supposed* to be <code></code>char const(&amp;)<a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a><code></code>. Will your patch still work if you change the cast to <code></code>(char const*)<code></code>? That's a change I wouldn't mind applying (too much). </p> Ticket sohail-boost-trac@… Sat, 28 Nov 2009 18:18:06 GMT owner changed https://svn.boost.org/trac10/ticket/1066#comment:4 https://svn.boost.org/trac10/ticket/1066#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Sohail Somani</span> to <span class="trac-author">Dave Abrahams</span> </li> </ul> <p> You are right, it should be char const. I actually can't verify any patches anymore since I don't have access to this compiler :-/ </p> <p> However, I think it should work. </p> Ticket Steven Watanabe Thu, 17 Jun 2010 20:09:27 GMT <link>https://svn.boost.org/trac10/ticket/1066#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1066#comment:5</guid> <description> <p> class.cpp compiles without errors on Sun CC 5.9. Resolve as wontfix, since it works with recent versions? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sohail Somani</dc:creator> <pubDate>Thu, 17 Jun 2010 20:16:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1066#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1066#comment:6</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1066#comment:5" title="Comment 5">steven_watanabe</a>: </p> <blockquote class="citation"> <p> class.cpp compiles without errors on Sun CC 5.9. Resolve as wontfix, since it works with recent versions? </p> </blockquote> <p> Sounds good. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Thu, 17 Jun 2010 20:24:07 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1066#comment:7 https://svn.boost.org/trac10/ticket/1066#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket