Changeset 114 in pacpusframework for trunk/include/Pacpus


Ignore:
Timestamp:
Jun 25, 2013, 10:55:43 AM (11 years ago)
Author:
Marek Kurdej
Message:

Minor: added pacpus namespace in Win32ShMem.
Ignored dll-interface warnings in MSVC (unimportant because concerns STL): C4251, C4275.

Location:
trunk/include/Pacpus
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/PacpusTools/Win32ShMem.h

    r103 r114  
    2424/// Forward declaration of typedefs is impossible.
    2525typedef void * HANDLE;
     26
     27#ifdef _MSC_VER
     28#   pragma warning(push)
     29#   pragma warning(disable: 4275)
     30#endif // _MSC_VER
     31
     32namespace pacpus {
    2633
    2734/// Shared memory object for Windows.
     
    5865};
    5966
     67} // namespace pacpus
     68
     69#ifdef _MSC_VER
     70#   pragma warning(pop)
     71#endif // _MSC_VER
     72
    6073#endif // DEF_PACPUS_WIN32SHMEM_H
  • trunk/include/Pacpus/kernel/DbiteException.h

    r87 r114  
    1919#include <exception>
    2020#include <string>
     21
     22#ifdef _MSC_VER
     23#   pragma warning(push)
     24#   pragma warning(disable: 4251)
     25#endif // _MSC_VER
    2126
    2227namespace pacpus {
     
    5055} // namespace pacpus
    5156
     57#ifdef _MSC_VER
     58#   pragma warning(pop)
     59#endif // _MSC_VER
     60
    5261#endif // DEF_PACPUS_DBITEEXCEPTION_H
  • trunk/include/Pacpus/kernel/DbiteFile.h

    r76 r114  
    2424#include <string>
    2525
     26#ifdef _MSC_VER
     27#   pragma warning(push)
     28#   pragma warning(disable: 4251)
     29#endif // _MSC_VER
     30
    2631namespace pacpus {
    2732
     
    262267} // namespace pacpus
    263268
     269#ifdef _MSC_VER
     270#   pragma warning(pop)
     271#endif // _MSC_VER
     272
    264273#endif // DEF_PACPUS_DBITEFILE_H
Note: See TracChangeset for help on using the changeset viewer.