COIN-OR::LEMON - Graph Library

Changeset 1327:18c89646185e in lemon for lemon


Ignore:
Timestamp:
04/02/15 12:57:18 (5 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Suppress MSVC warning C4267 (#519)

C4267: conversion from 'size_t' to 'type', possible loss of data

Location:
lemon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lemon/arg_parser.h

    r959 r1327  
    2727#include <sstream>
    2828#include <algorithm>
     29#include <lemon/core.h>
    2930#include <lemon/assert.h>
    3031
  • lemon/core.h

    r1325 r1327  
    3030// Disable the following warnings when compiling with MSVC:
    3131// C4250: 'class1' : inherits 'class2::member' via dominance
     32// C4267: conversion from 'size_t' to 'type', possible loss of data
    3233// C4355: 'this' : used in base member initializer list
    3334// C4503: 'function' : decorated name length exceeded, name was truncated
     
    3536// C4996: 'function': was declared deprecated
    3637#ifdef _MSC_VER
    37 #pragma warning( disable : 4250 4355 4503 4800 4996 )
     38#pragma warning( disable : 4250 4267 4355 4503 4800 4996 )
    3839#endif
    3940
  • lemon/counter.h

    r833 r1327  
    2222#include <string>
    2323#include <iostream>
     24
     25#include <lemon/core.h>
    2426
    2527///\ingroup timecount
Note: See TracChangeset for help on using the changeset viewer.