logging-log4cxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r629876 - in /logging/log4cxx/trunk: ./ src/main/cpp/ src/main/include/log4cxx/ src/test/cpp/pattern/
Date Thu, 21 Feb 2008 17:14:21 GMT
Author: carnold
Date: Thu Feb 21 09:14:03 2008
New Revision: 629876

URL: http://svn.apache.org/viewvc?rev=629876&view=rev
Log:
LOGCXX-219: Standardize pragma warnings and eliminate spurious warnings for VC9

Modified:
    logging/log4cxx/trunk/pom.xml
    logging/log4cxx/trunk/src/main/cpp/asyncappender.cpp
    logging/log4cxx/trunk/src/main/cpp/class.cpp
    logging/log4cxx/trunk/src/main/cpp/classnamepatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/datepatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/filedatepatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/filelocationpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/fixedwindowrollingpolicy.cpp
    logging/log4cxx/trunk/src/main/cpp/fulllocationpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp
    logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp
    logging/log4cxx/trunk/src/main/cpp/integerpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/levelpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/linelocationpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/lineseparatorpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/literalpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/loggerpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/loggingeventpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/logmanager.cpp
    logging/log4cxx/trunk/src/main/cpp/messagepatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/methodlocationpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/namepatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/ndc.cpp
    logging/log4cxx/trunk/src/main/cpp/ndcpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/objectoutputstream.cpp
    logging/log4cxx/trunk/src/main/cpp/patternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/patternlayout.cpp
    logging/log4cxx/trunk/src/main/cpp/propertiespatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/relativetimepatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/rollingfileappender.cpp
    logging/log4cxx/trunk/src/main/cpp/rollingpolicybase.cpp
    logging/log4cxx/trunk/src/main/cpp/socketappender.cpp
    logging/log4cxx/trunk/src/main/cpp/socketappenderskeleton.cpp
    logging/log4cxx/trunk/src/main/cpp/sockethubappender.cpp
    logging/log4cxx/trunk/src/main/cpp/syslogwriter.cpp
    logging/log4cxx/trunk/src/main/cpp/threadpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/throwableinformationpatternconverter.cpp
    logging/log4cxx/trunk/src/main/cpp/timebasedrollingpolicy.cpp
    logging/log4cxx/trunk/src/main/cpp/timezone.cpp
    logging/log4cxx/trunk/src/main/include/log4cxx/logmanager.h
    logging/log4cxx/trunk/src/test/cpp/pattern/num343patternconverter.cpp

Modified: logging/log4cxx/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/pom.xml?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/pom.xml (original)
+++ logging/log4cxx/trunk/pom.xml Thu Feb 21 09:14:03 2008
@@ -197,7 +197,7 @@
       <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
-        <version>1.2.15</version>
+        <version>1.2.14</version>
         <scope>test</scope>
       </dependency>      
   </dependencies>

Modified: logging/log4cxx/trunk/src/main/cpp/asyncappender.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/asyncappender.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/asyncappender.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/asyncappender.cpp Thu Feb 21 09:14:03 2008
@@ -16,7 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/asyncappender.h>

Modified: logging/log4cxx/trunk/src/main/cpp/class.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/class.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/class.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/class.cpp Thu Feb 21 09:14:03 2008
@@ -14,6 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+#if defined(_MSC_VER)
+#pragma warning ( disable: 4231 4251 4275 4786 )
+#endif
+
 #include <log4cxx/logstring.h>
 #include <log4cxx/helpers/class.h>
 #include <log4cxx/helpers/exception.h>

Modified: logging/log4cxx/trunk/src/main/cpp/classnamepatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/classnamepatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/classnamepatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/classnamepatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -16,8 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/datepatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/datepatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/datepatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/datepatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -16,8 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/filedatepatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/filedatepatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/filedatepatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/filedatepatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/filelocationpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/filelocationpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/filelocationpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/filelocationpatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/fixedwindowrollingpolicy.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/fixedwindowrollingpolicy.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/fixedwindowrollingpolicy.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/fixedwindowrollingpolicy.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4503 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/fulllocationpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/fulllocationpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/fulllocationpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/fulllocationpatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -16,8 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp Thu Feb 21 09:14:03 2008
@@ -16,7 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning (disable: 4503)
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif 
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/integerpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/integerpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/integerpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/integerpatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/levelpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/levelpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/levelpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/levelpatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/linelocationpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/linelocationpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/linelocationpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/linelocationpatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/lineseparatorpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/lineseparatorpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/lineseparatorpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/lineseparatorpatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/literalpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/literalpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/literalpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/literalpatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/loggerpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/loggerpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/loggerpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/loggerpatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/loggingeventpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/loggingeventpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/loggingeventpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/loggingeventpatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/logmanager.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/logmanager.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/logmanager.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/logmanager.cpp Thu Feb 21 09:14:03 2008
@@ -15,6 +15,11 @@
  * limitations under the License.
  */
 
+
+#if defined(_MSC_VER)
+#pragma warning ( disable: 4231 4251 4275 4786 )
+#endif
+
 #include <log4cxx/logmanager.h>
 #include <log4cxx/spi/defaultrepositoryselector.h>
 #include <log4cxx/hierarchy.h>

Modified: logging/log4cxx/trunk/src/main/cpp/messagepatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/messagepatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/messagepatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/messagepatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/methodlocationpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/methodlocationpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/methodlocationpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/methodlocationpatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/namepatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/namepatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/namepatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/namepatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -16,8 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/ndc.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/ndc.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/ndc.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/ndc.cpp Thu Feb 21 09:14:03 2008
@@ -16,7 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/ndcpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/ndcpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/ndcpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/ndcpatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -16,8 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/objectoutputstream.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/objectoutputstream.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/objectoutputstream.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/objectoutputstream.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/patternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/patternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/patternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/patternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/patternlayout.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/patternlayout.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/patternlayout.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/patternlayout.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/propertiespatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/propertiespatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/propertiespatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/propertiespatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -16,8 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/relativetimepatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/relativetimepatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/relativetimepatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/relativetimepatternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/rollingfileappender.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/rollingfileappender.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/rollingfileappender.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/rollingfileappender.cpp Thu Feb 21 09:14:03 2008
@@ -16,7 +16,7 @@
  */
 
 #if defined(_MSC_VER)
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/rolling/rollingfileappender.h>

Modified: logging/log4cxx/trunk/src/main/cpp/rollingpolicybase.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/rollingpolicybase.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/rollingpolicybase.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/rollingpolicybase.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/socketappender.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/socketappender.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/socketappender.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/socketappender.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/net/socketappender.h>

Modified: logging/log4cxx/trunk/src/main/cpp/socketappenderskeleton.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/socketappenderskeleton.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/socketappenderskeleton.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/socketappenderskeleton.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #define __STDC_CONSTANT_MACROS

Modified: logging/log4cxx/trunk/src/main/cpp/sockethubappender.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/sockethubappender.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/sockethubappender.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/sockethubappender.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/net/sockethubappender.h>

Modified: logging/log4cxx/trunk/src/main/cpp/syslogwriter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/syslogwriter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/syslogwriter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/syslogwriter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/threadpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/threadpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/threadpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/threadpatternconverter.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/throwableinformationpatternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/throwableinformationpatternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/throwableinformationpatternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/throwableinformationpatternconverter.cpp Thu Feb 21
09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 

Modified: logging/log4cxx/trunk/src/main/cpp/timebasedrollingpolicy.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/timebasedrollingpolicy.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/timebasedrollingpolicy.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/timebasedrollingpolicy.cpp Thu Feb 21 09:14:03 2008
@@ -15,8 +15,7 @@
  * limitations under the License.
  */
 #if defined(_MSC_VER)
-#pragma warning ( push )
-#pragma warning ( disable: 4786 4231 )
+#pragma warning ( disable: 4231 4251 4275 4786 )
 #endif
 
 #include <log4cxx/logstring.h>

Modified: logging/log4cxx/trunk/src/main/cpp/timezone.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/timezone.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/timezone.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/timezone.cpp Thu Feb 21 09:14:03 2008
@@ -14,6 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+#if defined(_MSC_VER)
+#pragma warning ( disable: 4231 4251 4275 4786 )
+#endif
+
+
 #define __STDC_CONSTANT_MACROS
 #include <log4cxx/logstring.h>
 #include <log4cxx/helpers/timezone.h>

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/logmanager.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/logmanager.h?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/logmanager.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/logmanager.h Thu Feb 21 09:14:03 2008
@@ -18,6 +18,11 @@
 #ifndef _LOG4CXX_LOG_MANAGER_H
 #define _LOG4CXX_LOG_MANAGER_H
 
+#if defined(_MSC_VER)
+#pragma warning ( push )
+#pragma warning ( disable: 4231 4251 4275 4786 )
+#endif
+
 #include <log4cxx/logstring.h>
 #include <vector>
 #include <log4cxx/spi/repositoryselector.h>
@@ -198,5 +203,10 @@
         static void resetConfiguration();
     }; // class LogManager
 }  // namespace log4cxx
+
+#if defined(_MSC_VER)
+#pragma warning ( pop )
+#endif
+
 
 #endif //_LOG4CXX_LOG_MANAGER_H

Modified: logging/log4cxx/trunk/src/test/cpp/pattern/num343patternconverter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/pattern/num343patternconverter.cpp?rev=629876&r1=629875&r2=629876&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/pattern/num343patternconverter.cpp (original)
+++ logging/log4cxx/trunk/src/test/cpp/pattern/num343patternconverter.cpp Thu Feb 21 09:14:03
2008
@@ -14,6 +14,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+#if defined(_MSC_VER)
+#pragma warning ( disable: 4231 4251 4275 4786 )
+#endif
+
 #include <log4cxx/logstring.h>
 #include "num343patternconverter.h"
 



Mime
View raw message