lemon/core.h
changeset 1138 18c89646185e
parent 1136 1d80ec7d17eb
child 1144 c199e9976d93
equal deleted inserted replaced
43:30a553bd2d34 44:cb5873d4e3fe
    27 #include <lemon/bits/traits.h>
    27 #include <lemon/bits/traits.h>
    28 #include <lemon/assert.h>
    28 #include <lemon/assert.h>
    29 
    29 
    30 // Disable the following warnings when compiling with MSVC:
    30 // Disable the following warnings when compiling with MSVC:
    31 // C4250: 'class1' : inherits 'class2::member' via dominance
    31 // C4250: 'class1' : inherits 'class2::member' via dominance
       
    32 // C4267: conversion from 'size_t' to 'type', possible loss of data
    32 // C4355: 'this' : used in base member initializer list
    33 // C4355: 'this' : used in base member initializer list
    33 // C4503: 'function' : decorated name length exceeded, name was truncated
    34 // C4503: 'function' : decorated name length exceeded, name was truncated
    34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    35 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    35 // C4996: 'function': was declared deprecated
    36 // C4996: 'function': was declared deprecated
    36 #ifdef _MSC_VER
    37 #ifdef _MSC_VER
    37 #pragma warning( disable : 4250 4355 4503 4800 4996 )
    38 #pragma warning( disable : 4250 4267 4355 4503 4800 4996 )
    38 #endif
    39 #endif
    39 
    40 
    40 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    41 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    41 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    42 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    42 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    43 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"