Changeset 44688


Ignore:
Timestamp:
Apr 21, 2008, 8:47:04 AM (10 years ago)
Author:
John Maddock
Message:

Fix msvc warnings using new warning suppression header.

Location:
trunk/libs/filesystem/test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/filesystem/test/convenience_test.cpp

    r39173 r44688  
    1313//  But at least in VC++ 8.0 betas, their own libraries use the problem
    1414//  practices. So turn off the warnings.
    15 #define _CRT_SECURE_NO_DEPRECATE
    16 #define _SCL_SECURE_NO_DEPRECATE
    1715
    1816#include <boost/filesystem/convenience.hpp>
  • trunk/libs/filesystem/test/fstream_test.cpp

    r39365 r44688  
    1212//  But at least in VC++ 8.0 betas, their own libraries use the problem
    1313//  practices. So turn off the warnings.
    14 #define _CRT_SECURE_NO_DEPRECATE
    15 #define _SCL_SECURE_NO_DEPRECATE
     14#include <boost/config/warning_disable.hpp>
    1615
    1716#include <boost/filesystem/fstream.hpp>
  • trunk/libs/filesystem/test/operations_test.cpp

    r41106 r44688  
    1212//  But at least in VC++ 8.0 betas, their own libraries use the problem
    1313//  practices. So turn off the warnings.
    14 #define _CRT_SECURE_NO_DEPRECATE
    15 #define _SCL_SECURE_NO_DEPRECATE
    16 
     14#include <boost/config/warning_disable.hpp>
    1715#include <boost/filesystem/operations.hpp>
    1816#include <boost/filesystem/convenience.hpp>
  • trunk/libs/filesystem/test/wide_test.cpp

    r39520 r44688  
    1313//  But at least in VC++ 8.0 betas, their own libraries use the problem
    1414//  practices. So turn off the warnings.
    15 #define _CRT_SECURE_NO_DEPRECATE
    16 #define _SCL_SECURE_NO_DEPRECATE
     15#include <boost/config/warning_disable.hpp>
    1716
    1817#include <boost/filesystem/config.hpp>
Note: See TracChangeset for help on using the changeset viewer.