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

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.10.0
    • None
    • Build
    • None
    • 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. msvs2012.patch
          1 kB
          Andrey
        2. log4cxx-0.10.0-msvc10.diff
          10 kB
          Christian Boos
        3. apache-log4cxx-0.10.0-win7-x64.patch
          23 kB
          Feng Nan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: