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/06/14 02:42:21 UTC

svn commit: r414012 - /incubator/stdcxx/trunk/include/ansi/cwchar

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  <se...@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