You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/05/02 19:15:27 UTC
svn commit: r534553 - /incubator/stdcxx/trunk/include/rw/_config-gcc.h
Author: sebor
Date: Wed May 2 10:15:27 2007
New Revision: 534553
URL: http://svn.apache.org/viewvc?view=rev&rev=534553
Log:
2007-05-02 Martin Sebor <se...@roguewave.com>
STDCXX-338
* _config-gcc.h [__CYGWIN__](_RWSTD_NO_EXCEPTION_WHAT): Undefined
to prevent linker errors due to the symbol being multiply defined.
Modified:
incubator/stdcxx/trunk/include/rw/_config-gcc.h
Modified: incubator/stdcxx/trunk/include/rw/_config-gcc.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_config-gcc.h?view=diff&rev=534553&r1=534552&r2=534553
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_config-gcc.h (original)
+++ incubator/stdcxx/trunk/include/rw/_config-gcc.h Wed May 2 10:15:27 2007
@@ -9,22 +9,23 @@
*
***************************************************************************
*
- * Copyright 2005-2006 The Apache Software Foundation or its licensors,
- * as applicable.
+ * 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
*
- * Copyright 1994-2006 Rogue Wave Software.
- *
- * Licensed 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
+ * 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.
+ * 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 1994-2006 Rogue Wave Software.
*
**************************************************************************/
@@ -127,6 +128,11 @@
# ifndef _RWSTD_NO_DEPRECATED_LIBC_IN_STD
# define _RWSTD_NO_DEPRECATED_LIBC_IN_STD
# endif
+
+ // exception::what() is incorrectly detected as not defined
+ // causing linker errors due to multiple definitions; see
+ // STDCXX-338
+# undef _RWSTD_NO_EXCEPTION_WHAT
#endif // __CYGWIN__
#ifdef _RWSTD_OS_OSF1