Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 91032 invoked from network); 15 Oct 2007 20:37:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 20:37:05 -0000 Received: (qmail 70553 invoked by uid 500); 15 Oct 2007 20:36:52 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 70530 invoked by uid 500); 15 Oct 2007 20:36:52 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 70519 invoked by uid 99); 15 Oct 2007 20:36:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 13:36:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 20:36:56 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l9FKa5bJ019886 for ; Mon, 15 Oct 2007 20:36:05 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Fwd: svn commit: r584880 - in /incubator/stdcxx/trunk/etc/config/src: NO_OBJECT_MANGLING.cpp object_mangling_imp.cpp] Date: Mon, 15 Oct 2007 14:37:10 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: svn commit: r584880 - in /incubator/stdcxx/trunk/etc/config/src: NO_OBJECT_MANGLING.cpp object_mangling_imp.cpp] Thread-Index: AcgPaCfYPb1wt0l6RhSg4ucaAda0kQAAUdwg References: <4713C9FF.6070201@roguewave.com> From: "Travis Vitek" To: X-Virus-Checked: Checked by ClamAV on apache.org The framework will add the new test, but it doesn't have any way to know to compile and link object_name_mangling_imp.o. Something will need to be updated for that to work correctly. Travis=20 >-----Original Message----- >From: Martin Sebor [mailto:sebor@roguewave.com]=20 >Sent: Monday, October 15, 2007 1:14 PM >To: stdcxx-dev@incubator.apache.org >Subject: [Fwd: svn commit: r584880 - in=20 >/incubator/stdcxx/trunk/etc/config/src: NO_OBJECT_MANGLING.cpp=20 >object_mangling_imp.cpp] > >Hi Farid, > >Do I need to do something special in order for the VisualStudio >infrastructure to pick up this test or is it handled automatically >like on UNIX? The tricky part that I'm worried about is setting >LDOPTS in the main test to link it with object_mangling_imp.o. > >Travis, do you know this part of the infrastructure yet to be able >to tell? > >Thanks >Martin > >-------- Original Message -------- >Subject: svn commit: r584880 - in=20 >/incubator/stdcxx/trunk/etc/config/src: NO_OBJECT_MANGLING.cpp=20 >object_mangling_imp.cpp >Date: Mon, 15 Oct 2007 19:58:39 -0000 >From: sebor@apache.org >Reply-To: stdcxx-dev@incubator.apache.org >To: stdcxx-commits@incubator.apache.org > >Author: sebor >Date: Mon Oct 15 12:58:38 2007 >New Revision: 584880 > >URL: http://svn.apache.org/viewvc?rev=3D584880&view=3Drev >Log: >2007-10-15 Martin Sebor > > * NO_OBJECT_MANGLING.cpp: New config test to determine whether > namespace-scope objects have their types mangled into their > names (as done by MSVC) or not (other compilers). > * object_mangling_imp.cpp: Helper file to go with the above. > >Added: > incubator/stdcxx/trunk/etc/config/src/NO_OBJECT_MANGLING.cpp=20 >(with props) > incubator/stdcxx/trunk/etc/config/src/object_mangling_imp.cpp=20 >(with props) > >Added: incubator/stdcxx/trunk/etc/config/src/NO_OBJECT_MANGLING.cpp >URL:=20 >http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/ >src/NO_OBJECT_MANGLING.cpp?rev=3D584880&view=3Dauto >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >---=20 >incubator/stdcxx/trunk/etc/config/src/NO_OBJECT_MANGLING.cpp (added) >+++=20 >incubator/stdcxx/trunk/etc/config/src/NO_OBJECT_MANGLING.cpp Mon Oct=20 >15 12:58:38 2007 >@@ -0,0 +1,37 @@ >+// checking for object name mangling >+ >+/************************************************************* >************** >+ * >+ * Licensed to the Apache Software Foundation (ASF) under one or more >+ * contributor license agreements. See the NOTICE file distributed >+ * with this work for additional information regarding copyright >+ * ownership. The ASF licenses this file to you under the Apache >+ * License, Version 2.0 (the License); you may not use this file >+ * except in compliance with the License. You may obtain a copy of >+ * the License at >+ * >+ * http://www.apache.org/licenses/LICENSE-2.0 >+ * >+ * Unless required by applicable law or agreed to in writing, software >+ * distributed under the License is distributed on an "AS IS" BASIS, >+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or >+ * implied. See the License for the specific language governing >+ * permissions and limitations under the License. >+ * >+ * Copyright 1999-2007 Rogue Wave Software, Inc. >+ * >+=20 >*************************************************************** >***********/ >+ >+#ifdef _RWSTD_object_mangling_imp >+ // link with the object file below >+ // LDOPTS =3D object_mangling_imp.o >+#endif // _RWSTD_object_mangling_imp >+ >+// declared but not defined here (defined in object_mangling_imp.cpp) >+extern int declared_int_defined_char_array; >+ >+int main () >+{ >+ // return 0 to indicate that the object has non-zero value >+ return !declared_int_defined_char_array; >+} > >Propchange:=20 >incubator/stdcxx/trunk/etc/config/src/NO_OBJECT_MANGLING.cpp >--------------------------------------------------------------- >--------------- > svn:eol-style =3D native > >Propchange:=20 >incubator/stdcxx/trunk/etc/config/src/NO_OBJECT_MANGLING.cpp >--------------------------------------------------------------- >--------------- > svn:keywords =3D Id > >Added: incubator/stdcxx/trunk/etc/config/src/object_mangling_imp.cpp >URL:=20 >http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/ >src/object_mangling_imp.cpp?rev=3D584880&view=3Dauto >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >---=20 >incubator/stdcxx/trunk/etc/config/src/object_mangling_imp.cpp (added) >+++ incubator/stdcxx/trunk/etc/config/src/object_mangling_imp.cpp Mon=20 >Oct 15 12:58:38 2007 >@@ -0,0 +1,29 @@ >+ >+/************************************************************* >************** >+ * >+ * Licensed to the Apache Software Foundation (ASF) under one or more >+ * contributor license agreements. See the NOTICE file distributed >+ * with this work for additional information regarding copyright >+ * ownership. The ASF licenses this file to you under the Apache >+ * License, Version 2.0 (the License); you may not use this file >+ * except in compliance with the License. You may obtain a copy of >+ * the License at >+ * >+ * http://www.apache.org/licenses/LICENSE-2.0 >+ * >+ * Unless required by applicable law or agreed to in writing, software >+ * distributed under the License is distributed on an "AS IS" BASIS, >+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or >+ * implied. See the License for the specific language governing >+ * permissions and limitations under the License. >+ * >+ * Copyright 1999-2007 Rogue Wave Software, Inc. >+ * >+=20 >*************************************************************** >***********/ >+ >+char declared_int_defined_char_array [sizeof (int)] =3D { >+ // define the object to have a different type than its declaration >+ // in NO_NAME_MANGLING.cpp to detect whether mangled object names >+ // include type information or not >+ '\1' >+}; > >Propchange:=20 >incubator/stdcxx/trunk/etc/config/src/object_mangling_imp.cpp >--------------------------------------------------------------- >--------------- > svn:eol-style =3D native > >Propchange:=20 >incubator/stdcxx/trunk/etc/config/src/object_mangling_imp.cpp >--------------------------------------------------------------- >--------------- > svn:keywords =3D Id > > >