lemon/core.h
changeset 1204 736a341e604b
parent 1135 c199e9976d93
equal deleted inserted replaced
45:225697152e4c 46:889c07995ff3
    31 // C4267: conversion from 'size_t' to 'type', possible loss of data
    31 // C4267: conversion from 'size_t' to 'type', possible loss of data
    32 // C4355: 'this' : used in base member initializer list
    32 // C4355: 'this' : used in base member initializer list
    33 // C4503: 'function' : decorated name length exceeded, name was truncated
    33 // C4503: 'function' : decorated name length exceeded, name was truncated
    34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    35 // C4996: 'function': was declared deprecated
    35 // C4996: 'function': was declared deprecated
       
    36 
       
    37 #include <lemon/config.h>
       
    38 
    36 #ifdef _MSC_VER
    39 #ifdef _MSC_VER
    37 #pragma warning( disable : 4250 4267 4355 4503 4800 4996 )
    40 #pragma warning( disable : 4250 4267 4355 4503 4800 4996 )
    38 #endif
    41 #endif
    39 
    42 
    40 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    43 #if LEMON_NO_UNUSED_LOCAL_TYPEDEF_WARNINGS
    41 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    44 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc >=4.8 and clang
    42 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    45 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    43 #endif
    46 #endif
    44 
    47 
    45 #include <vector>
    48 #include <vector>
    46 #include <algorithm>
    49 #include <algorithm>
    47 
    50 
    48 #include <lemon/config.h>
       
    49 #include <lemon/bits/enable_if.h>
    51 #include <lemon/bits/enable_if.h>
    50 #include <lemon/bits/traits.h>
    52 #include <lemon/bits/traits.h>
    51 #include <lemon/assert.h>
    53 #include <lemon/assert.h>
    52 
    54 
    53 
    55