stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r414012 - /incubator/stdcxx/trunk/include/ansi/cwchar
Date Wed, 14 Jun 2006 00:42:21 GMT
Author: sebor
Date: Tue Jun 13 17:42:20 2006
New Revision: 414012

URL: http://svn.apache.org/viewvc?rev=414012&view=rev
Log:
2006-06-13  Martin Sebor  <sebor@roguewave.com>

	* cwchar (wprintf, swprintf): Avoid declaring functions extern
	"C++" to prevent dumb MSVC 8 from choking on it for some bizarre
	reason.

Modified:
    incubator/stdcxx/trunk/include/ansi/cwchar

Modified: incubator/stdcxx/trunk/include/ansi/cwchar
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/cwchar?rev=414012&r1=414011&r2=414012&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/cwchar (original)
+++ incubator/stdcxx/trunk/include/ansi/cwchar Tue Jun 13 17:42:20 2006
@@ -315,7 +315,7 @@
 #else   // MSVC 7.1 and above
 
 // MSVC 7.1 declares two overloads of swprintf()
-extern "C++" int swprintf (wchar_t*, size_t, const wchar_t*, ...);
+/* extern "C++" */ int swprintf (wchar_t*, size_t, const wchar_t*, ...);
 
 #endif   // MSVC
 
@@ -384,7 +384,8 @@
 #else   // MSVC 7.1 and above
 
 // MSVC 7.1 declares two overloads of vswprintf()
-extern "C++" int vswprintf (wchar_t*, size_t, const wchar_t*, _RWSTD_VA_LIST);
+/* extern "C++" */
+int vswprintf (wchar_t*, size_t, const wchar_t*, _RWSTD_VA_LIST);
 
 #endif   // MSVC
 



Mime
View raw message