Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 962B67857 for ; Sun, 27 Nov 2011 11:45:05 +0000 (UTC) Received: (qmail 42565 invoked by uid 500); 27 Nov 2011 11:45:05 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 42460 invoked by uid 500); 27 Nov 2011 11:45:04 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 42452 invoked by uid 99); 27 Nov 2011 11:45:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2011 11:45:04 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2011 11:45:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 35F20A2E41 for ; Sun, 27 Nov 2011 11:44:40 +0000 (UTC) Date: Sun, 27 Nov 2011 11:44:40 +0000 (UTC) From: "Ivan Pechorin (Created) (JIRA)" To: dev@activemq.apache.org Message-ID: <178853048.14646.1322394280234.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMQCPP-385) Compilation errors with Sun Studio 12 / libCstd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Compilation errors with Sun Studio 12 / libCstd ----------------------------------------------- Key: AMQCPP-385 URL: https://issues.apache.org/jira/browse/AMQCPP-385 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.4.0 Environment: Solaris 10 x86, Sun Studio 12.2, -library=Cstd (instead of stlport4), 32-bit build (-m32) Reporter: Ivan Pechorin Assignee: Timothy Bish Priority: Minor I get a trivial compilation error in few places when compiling ActiveMQ-C++ 3.4.0 release tarball using SunCC configured with libCstd instead of stlport4: libtool: compile: CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=Cstd -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/cma/dev/pie/activemq/dist/include/apr-1 -I/cma/dev/pie/activemq/dist/include/apr-1 -PIC -g -m32 -xO3 -xregs=no%frameptr -xtarget=generic -xarch=sse2 -KPIC -mt -c activemq/commands/ActiveMQBytesMessage.cpp -KPIC -DPIC -o activemq/commands/.libs/libactivemq_cpp_la-ActiveMQBytesMessage.o "activemq/commands/ActiveMQBytesMessage.cpp", line 599: Error: Cannot use std::pair to initialize std::pair. "activemq/commands/ActiveMQBytesMessage.cpp", line 615: Error: Cannot use std::pair to initialize std::pair. libtool: compile: CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=Cstd -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/cma/dev/pie/activemq/dist/include/apr-1 -I/cma/dev/pie/activemq/dist/include/apr-1 -PIC -g -m32 -xO3 -xregs=no%frameptr -xtarget=generic -xarch=sse2 -KPIC -mt -c activemq/commands/ActiveMQMapMessage.cpp -KPIC -DPIC -o activemq/commands/.libs/libactivemq_cpp_la-ActiveMQMapMessage.o "activemq/commands/ActiveMQMapMessage.cpp", line 122: Error: Cannot use std::pair to initialize std::pair. 1 Error(s) detected. libtool: compile: CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=Cstd -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/cma/dev/pie/activemq/dist/include/apr-1 -I/cma/dev/pie/activemq/dist/include/apr-1 -PIC -g -m32 -xO3 -xregs=no%frameptr -xtarget=generic -xarch=sse2 -KPIC -mt -c activemq/commands/ActiveMQStreamMessage.cpp -KPIC -DPIC -o activemq/commands/.libs/libactivemq_cpp_la-ActiveMQStreamMessage.o "activemq/commands/ActiveMQStreamMessage.cpp", line 848: Error: Cannot use std::pair to initialize std::pair. libtool: compile: CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=Cstd -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/cma/dev/pie/activemq/dist/include/apr-1 -I/cma/dev/pie/activemq/dist/include/apr-1 -PIC -g -m32 -xO3 -xregs=no%frameptr -xtarget=generic -xarch=sse2 -KPIC -mt -c activemq/commands/ActiveMQTextMessage.cpp -KPIC -DPIC -o activemq/commands/.libs/libactivemq_cpp_la-ActiveMQTextMessage.o "activemq/commands/ActiveMQTextMessage.cpp", line 142: Error: Cannot use std::pair to initialize std::pair. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira