You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/05/02 23:42:55 UTC

[jira] Resolved: (STDCXX-903) [EDG eccp/SUSE EL 9] incompatible argument error on wcsftime()

     [ https://issues.apache.org/jira/browse/STDCXX-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor resolved STDCXX-903.
---------------------------------

    Resolution: Fixed

Fixed in [r652920|http://svn.apache.org/viewcvs?view=rev&rev=652920].
Will close after merging out to 4.3.x and trunk.

> [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: 4.2.1
>         Environment: EDG eccp 3.9
> SUSE LINUX Enterprise Server 9 (x86_64)
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.