Author: sebor
Date: Fri Mar 23 16:09:40 2007
New Revision: 521934
URL: http://svn.apache.org/viewvc?view=rev&rev=521934
Log:
2007-03-23 Martin Sebor <[EMAIL PROTECTED]>
STDCXX-364
* STRUCT_TM_IN_WCHAR_H.cpp: Checked only for the declaration of struct
tm, not its definition (according to 7.24.1, p2 of C99, struct tm is
required to declared as an incomplete type in <wchar.h>).
Modified:
incubator/stdcxx/trunk/etc/config/src/STRUCT_TM_IN_WCHAR_H.cpp
Modified: incubator/stdcxx/trunk/etc/config/src/STRUCT_TM_IN_WCHAR_H.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STRUCT_TM_IN_WCHAR_H.cpp?view=diff&rev=521934&r1=521933&r2=521934
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STRUCT_TM_IN_WCHAR_H.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STRUCT_TM_IN_WCHAR_H.cpp Fri Mar 23
16:09:40 2007
@@ -1,8 +1,11 @@
-// checking for struct tm in <wchar.h>
+// checking for struct tm declaration in <wchar.h>
#include <wchar.h>
-struct tm foo (struct tm arg)
+// 7.24.1, p2 of C99: struct tm is required to declared
+// as an incomplete type in <wchar.h>
+
+struct tm* struct_tm_declared (struct tm* arg)
{
return arg;
}