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

apache-log4cxx-0.10.0\src\main\include\log4cxx\spi\configurator.h(57) : warning C4231: nonstandard extension used : 'extern' before template explicit instantiation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Environment:
      MS Windows 7 (32 bit), MS Visaul Studio C++ 2008

      Description

      Compilers show warning: apache-log4cxx-0.10.0\src\main\include\log4cxx\spi\configurator.h(57) : warning C4231: nonstandard extension used : 'extern' before template explicit instantiation

      Can we use the same workaround as in "apache-log4cxx-0.10.0\src\main\include\log4cxx\log4cxx.h" ?

      #if defined(_MSC_VER)
      #pragma warning ( push )
      #pragma warning ( disable: 4231 )
      #endif

      ....

      #if defined(_MSC_VER)
      #pragma warning (pop)
      #endif

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              mitjag Mitja Gomboc
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified