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 2006/01/19 19:56:25 UTC

svn commit: r370573 - /incubator/stdcxx/trunk/etc/config/src/libc_decl.sh

Author: sebor
Date: Thu Jan 19 10:56:22 2006
New Revision: 370573

URL: http://svn.apache.org/viewcvs?rev=370573&view=rev
Log:
2006-01-19  Martin Sebor  <se...@roguewave.com>

	STDCXX-123
	* libc_decl.sh (funptri): Avoided using a type with no linkage
	to declare a variable with linkage to prevent an EDG eccp 3.7
	error #961-D: use of a type with no linkage to declare a variable
	with linkage.

Modified:
    incubator/stdcxx/trunk/etc/config/src/libc_decl.sh

Modified: incubator/stdcxx/trunk/etc/config/src/libc_decl.sh
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/src/libc_decl.sh?rev=370573&r1=370572&r2=370573&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/libc_decl.sh (original)
+++ incubator/stdcxx/trunk/etc/config/src/libc_decl.sh Thu Jan 19 10:56:22 2006
@@ -184,7 +184,7 @@
 // take the address of the function in a way
 // that foils even clever optimizers
 
-union {
+union funptr_type {
     funptr_t      pf;
     unsigned long ul;
 } funptri;