stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r370573 - /incubator/stdcxx/trunk/etc/config/src/libc_decl.sh
Date Thu, 19 Jan 2006 18:56:25 GMT
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  <sebor@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;



Mime
View raw message