COIN-OR::LEMON - Graph Library

Changeset 1341:c199e9976d93 in lemon


Ignore:
Timestamp:
04/28/15 18:07:44 (4 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1342:5c247b4dc708, 1343:20f95cd51aba, 1344:ca4e4a5e9b6e
Phase:
public
Message:

Resolve VS and MinGW warnings (#595)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/windows.cc

    r1340 r1341  
    2121
    2222#include<lemon/bits/windows.h>
     23
     24#if defined(LEMON_WIN32) && defined(__GNUC__)
     25#pragma GCC diagnostic ignored "-Wold-style-cast"
     26#endif
    2327
    2428#ifdef LEMON_WIN32
  • lemon/core.h

    r1327 r1341  
    2020#define LEMON_CORE_H
    2121
    22 #include <vector>
    23 #include <algorithm>
    24 
    25 #include <lemon/config.h>
    26 #include <lemon/bits/enable_if.h>
    27 #include <lemon/bits/traits.h>
    28 #include <lemon/assert.h>
     22///\file
     23///\brief LEMON core utilities.
     24///
     25///This header file contains core utilities for LEMON.
     26///It is automatically included by all graph types, therefore it usually
     27///do not have to be included directly.
    2928
    3029// Disable the following warnings when compiling with MSVC:
     
    4443#endif
    4544
    46 ///\file
    47 ///\brief LEMON core utilities.
    48 ///
    49 ///This header file contains core utilities for LEMON.
    50 ///It is automatically included by all graph types, therefore it usually
    51 ///do not have to be included directly.
     45#include <vector>
     46#include <algorithm>
     47
     48#include <lemon/config.h>
     49#include <lemon/bits/enable_if.h>
     50#include <lemon/bits/traits.h>
     51#include <lemon/assert.h>
     52
     53
    5254
    5355namespace lemon {
  • test/radix_sort_test.cc

    r1270 r1341  
    1616 *
    1717 */
     18
     19#include <lemon/core.h>
    1820
    1921#include <lemon/time_measure.h>
Note: See TracChangeset for help on using the changeset viewer.