Boost C++ Libraries: Ticket #3324: AIX/i5OS @ Visual Age 6: is_member_pointer.hpp", line 54.63: 1540-0403 (S) "template <class T, class U> struct boost::is_member_pointer<U T::* const>" is already defined https://svn.boost.org/trac10/ticket/3324 <p> Hi, </p> <p> I am getting the below error on AIX/i5OS using Visual Age 6 and Boost 1.39.0 when including Boost header files. </p> <p> /QOpenSys/vac600/usr/vacpp/bin/xlC_r -+ -DHAVE_DLFCN_H -Dmysqlcppconn_EXPORTS -O2 -g -ma -qstrict -qoptimize=2 -qmaxmem=8192 -Iboost-1_39 -I/home/mysqldev/bs/i5os-ppc32/connector-common-32bit/mysql-server-gpl-static/include -I/home/mysqldev/bs/connector-c++-32bit/src/mysql-connector-c++-1.0.6r716_20090806_1555 -I/home/mysqldev/bs/connector-c++-32bit/src/mysql-connector-c++-1.0.6r716_20090806_1555/cppconn -O2 -g -ma -qstrict -qoptimize=2 -qmaxmem=8192 -I/home/mysqldev/bs/i5os-ppc32/connector-common-32bit/mysql-server-gpl-static/include -g -ma -qstrict -qoptimize=0 -qmaxmem=8192 -DUNIV_AIX -o CMakeFiles/mysqlcppconn.dir/mysql_connection.cpp.o -c /mysql_connection.cpp "boost-1_39/boost/type_traits/is_member_pointer.hpp", line 54.63: 1540-0403 (S) "template &lt;class T, class U&gt; struct boost::is_member_pointer&lt;U T::* const&gt;" is already defined. "boost-1_39/boost/type_traits/is_member_pointer.hpp", line 51.63: 1540-0425 (I) "is_member_pointer&lt;U T::*&gt;" is defined on line 51 of "boost-1_39/boost/type_traits/is_member_pointer.hpp". "boost-1_39/boost/type_traits/is_member_pointer.hpp", line 55.63: 1540-0403 (S) "template &lt;class T, class U&gt; struct boost::is_member_pointer&lt;U T::* volatile&gt;" is already defined. "boost-1_39/boost/type_traits/is_member_pointer.hpp", line 51.63: 1540-0425 (I) "is_member_pointer&lt;U T::*&gt;" is defined on line 51 of "boost-1_39/boost/type_traits/is_member_pointer.hpp". "boost-1_39/boost/type_traits/is_member_pointer.hpp", line 56.63: 1540-0403 (S) "template &lt;class T, class U&gt; struct boost::is_member_pointer&lt;U T::* const volatile&gt;" is already defined. "boost-1_39/boost/type_traits/is_member_pointer.hpp", line 51.63: 1540-0425 (I) "is_member_pointer&lt;U T::*&gt;" is defined on line 51 of "boost-1_39/boost/type_traits/is_member_pointer.hpp". </p> <p> Boost 1.39.0 has been installed from source as follows: </p> <p> ./bootstrap.sh --prefix=/nfstmp2/cteam/bs/aix5.3-ppc32/connector-common-32bit/boost --libdir=/nfstmp2/cteam/bs/aix5.3-ppc32/connector-common-32bit/boost/lib --with-toolset=vacpp ./bjam --without-date_time --without-filesystem --without-graph --without-iostreams --without-math --without-mpi --without-program_options --without-python --without-regex --without-serialization </p> <p> I can reproduce the above error on AIX 5.3 (PPC32, PPC64) and i5OS (PPC32, PPC64). All machines are using Visual Age 6. </p> <p> C compiler : 6.0.0.17 C++ compiler : 6.0.0.18 </p> <p> Thanks in advance, Ulf </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3324 Trac 1.4.3 ulf.wendel@… Fri, 07 Aug 2009 08:21:21 GMT <link>https://svn.boost.org/trac10/ticket/3324#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3324#comment:1</guid> <description> <p> Forgot to add my address. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 07 Aug 2009 11:10:18 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3324#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3324#comment:2</guid> <description> <p> Our regression tests with Visual Age 10 are passing for that one, so this looks like a compiler bug that has been fixed. What's the value of <span class="underline">IBMCPP</span> for the compiler you're using? </p> <p> John. </p> </description> <category>Ticket</category> </item> <item> <author>ulf.wendel@…</author> <pubDate>Fri, 07 Aug 2009 13:31:54 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3324#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3324#comment:3</guid> <description> <p> Yes, it could be a compiler bug. I am using Visual Age 6. </p> <p> printf("%X", <span class="underline">IBMCPP</span>) =&gt; 258 printf("%d", <span class="underline">IBMCPP</span>) =&gt; 600 </p> <p> Thanks, Ulf </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 13 Aug 2009 15:44:36 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/3324 https://svn.boost.org/trac10/ticket/3324 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">is_member_pointer_ibm.patch</span> </li> </ul> <p> Patch for issue. </p> Ticket John Maddock Thu, 13 Aug 2009 15:45:38 GMT <link>https://svn.boost.org/trac10/ticket/3324#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3324#comment:4</guid> <description> <p> Can you confirm that the attached patch fixes things? </p> <p> If so I'll commit to trunk. </p> <p> Thanks, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 17 Aug 2009 15:38:52 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3324#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3324#comment:5</guid> <description> <p> Thanks for the patch, John! I have been on vacation in the past week. I tried the patch today and it solves the is_member_pointer.hpp problem. </p> <p> However, I am now getting another error about a circular reference: </p> <p> /usr/vacpp/bin/xlC_r -+ -Dmysqlcppconn_EXPORTS -O2 -g -ma -qstrict -qoptimize=2 -qmaxmem=8192 -I/nfstmp2/boost/include/boost-1_39 -Imysql-server-gpl-static/include -Isrc/mysql-connector-c++-1.0.6 -Isrc/mysql-connector-c++-1.0.6/cppconn -D_ALL_SOURCE -O2 -g -ma -qstrict -qoptimize=2 -qmaxmem=8192 -I/nfstmp2/mysql-server-gpl-static/include -g -ma -qstrict -qoptimize=0 -qmaxmem=8192 -DUNIV_AIX -o CMakeFiles/mysqlcppconn.dir/mysql_connection.cpp.o -cmysql-connector-c++-1.0.6/driver/mysql_connection.cpp "boost/include/boost-1_39/boost/variant/variant.hpp", line 918.27: 1540-0100 (S) The class qualifier "boost::mpl::eval_if&lt;boost::variant&lt;long long,double,bool,class sql::SQLString,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::..." contains a circular reference back to "boost::variant&lt;long long,double,bool,sql::SQLString,boost::detail::variant::void_,boost::detail::variant::void_,boost::detail::variant::void_,boost::detail::variant::void_,boost::detail::variant::void_,boost::de...". "boost/include/boost-1_39/boost/mpl/if.hpp", line 63.68: 1540-0700 (I) The previous message was produced while processing "struct boost::variant&lt;long long, double,bool,class sql::SQLString,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,struct boost::detail::variant::void_,stru...". "[path_to]/driver/mysql_connection.cpp", line 86.1: 1540-0700 (I) The previous message was produced while processing "sql::mysql::My SQL_Connection::MySQL_Connection(const SQLString &amp;, const SQLString &amp;, const SQLString &amp;)". </p> <p> Thanks, Ulf </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 18 Aug 2009 11:41:59 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/3324#comment:6 https://svn.boost.org/trac10/ticket/3324#comment:6 <ul> <li><strong>owner</strong> changed from <span class="trac-author">John Maddock</span> to <span class="trac-author">ebf</span> </li> <li><strong>component</strong> <span class="trac-field-old">type_traits</span> → <span class="trac-field-new">variant</span> </li> </ul> <p> I'm not familiar with Variant, so I'm reassigning the issue. </p> <p> The type_traits patch has been applied to Trunk BTW: it won't be in 1.40 though as that's already in beta. </p> <p> John. </p> Ticket ulf.wendel@… Tue, 18 Aug 2009 20:08:51 GMT <link>https://svn.boost.org/trac10/ticket/3324#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3324#comment:7</guid> <description> <p> Fair enough John! Thanks for your efforts. </p> <p> Whoever takes the ticket next: I can easily go back to Boost 1.34 (or even Boost 1.31), if that helps. I am aware of the age of the build platform we use. </p> <p> Ulf </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 02 Dec 2014 17:16:52 GMT</pubDate> <title>owner, status, milestone changed https://svn.boost.org/trac10/ticket/3324#comment:8 https://svn.boost.org/trac10/ticket/3324#comment:8 <ul> <li><strong>owner</strong> changed from <span class="trac-author">ebf</span> to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> Could someone reproduce this issue? </p> <p> Otherwise this will be marked as "wontfix" (I have no access to platform, there are no regression testers running tests on this platform and that platform looks like one of those, that are not supported any more by Boost community). </p> Ticket Antony Polukhin Mon, 09 Mar 2015 11:49:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3324#comment:9 https://svn.boost.org/trac10/ticket/3324#comment:9 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket