Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-903

[EDG eccp/SUSE EL 9] incompatible argument error on wcsftime()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2
    • Build and Installation
    • None
    • EDG eccp 3.9
      SUSE LINUX Enterprise Server 9 (x86_64)

    • Compiler Error

    Description

      The source file time_put.cpp fails to compile with EDG eccp 3.9 on SUSE Enterprise Linux 9 with the following error:

      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'
      

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h