[EDG eccp/SUSE EL 9] incompatible argument error on wcsftime()
--------------------------------------------------------------
Key: STDCXX-903
URL: https://issues.apache.org/jira/browse/STDCXX-903
Project: C++ Standard Library
Issue Type: Bug
Components: Build
Affects Versions: trunk
Environment: EDG eccp 3.9
SUSE LINUX Enterprise Server 9 (x86_64)
Reporter: Martin Sebor
Priority: Critical
Fix For: 4.2.2
The source file
[time_put.cpp|http://svn.apache.org/viewvc/stdcxx/tags/4.2.1-rc-3/src/time_put.cpp]
fails to compile with EDG eccp 3.9 on SUSE Enterprise Linux 9 with the
following error:
{noformat}
eccp -c -I$(### gmake -Cbuild/lib BUILDMODE=,archive,debug,narrow
CONFIG=eccp.config 2>&1 | sed -e
"s/\/build2\/batman\/5.0.0\/builds\/34681289\/source-buildspace\/build/\$(BUILDDIR)/g;s/\/build2\/batman\/5.0.0\/builds\/34681289\/source-buildspace/\$(TOPDIR)/g"
| tee /tmp/build.24118.log:
...
gmake: Entering directory `$(BUILDDIR)/lib'
TOPDIR)/include/ansi -D_RWSTDDEBUG -I$(TOPDIR)/include -I$(BUILDDIR)/include
-A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number
--remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815
$(TOPDIR)/src/time_put.cpp
"$(TOPDIR)/src/time_put.cpp", line 2895: error #167:
argument of type "char *" is incompatible with parameter of type
"const wchar_t *"
res = wcsftime (wbuf, bufsize, fmtstr, tmb);
^
1 error detected in the compilation of "$(TOPDIR)/src/time_put.cpp".
gmake: *** [time_put.o] Error 2
gmake: Leaving directory `$(BUILDDIR)/lib'
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.