Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Environment:

      Description

      1.
      compile error and intermit. ,:
      syslogappender.cpp:290: instantiated from here /usr/include/c++/3.2.3/bits/basic_string.h:688: no type named `
      iterator_category' in `struct std::iterator_traits<int>'

      this is a stl type incomplete , i replace all std::string append a char as bellow example.
      sbuf.append(1, 0x3E /* '>' */);
      ====>
      sbuf.append(1, (char)0x3E /* '>' */);

      2. compile socketservertestcase.cpp ,because it not found teh ::fork() function
      and i include the head file :

      inlcude <unistd.h>

        Activity

        clx created issue -
        Hide
        Curt Arnold added a comment -

        Fixed std::basic_string<logchar>.append() compilation problem with gcc 3.2.3 in rev 613005.

        socketservertestcase is a dupl of an existing bug https://issues.apache.org/jira/browse/LOGCXX-142. unistd.h is not universally available, test should be rewritten to use APR.

        Show
        Curt Arnold added a comment - Fixed std::basic_string<logchar>.append() compilation problem with gcc 3.2.3 in rev 613005. socketservertestcase is a dupl of an existing bug https://issues.apache.org/jira/browse/LOGCXX-142 . unistd.h is not universally available, test should be rewritten to use APR.
        Curt Arnold made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Curt Arnold
            Reporter:
            clx
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development