Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-366

Errors when compile log4cxx 0.10.0 under Win7 x64 with Visual Studio 2010

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Windows 7 x64, Visual Studio 2010

      Description

      After downloading all third-party packages, I compiled log4cxx 0.10.0 with my windows 7(x64) box with Visual Studio 2010.

      It took me more about 3 hours to fix it and get it solved.

      I met a lot of errors like the following:
      d:\sources\apache-log4cxx-0.10.0\src\main\include\log4cxx/spi/loggingevent.h(155): error C2252: an explicit instantiation of a template can only occur at namespace scope

        Attachments

        1. apache-log4cxx-0.10.0-win7-x64.patch
          23 kB
          Feng Nan
        2. log4cxx-0.10.0-msvc10.diff
          10 kB
          Christian Boos
        3. msvs2012.patch
          1 kB
          Andrey

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              fengnan@gmail.com Feng Nan
            • Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: