COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (82 - 84 of 545)

Ticket Resolution Summary Owner Reporter
#418 fixed Compilation problem with CodeBlock + MinGW Alpar Juttner Alpar Juttner
Description

lemon/bits/windows.cc does not find sys/times.h and also the tms struct:

Building CXX object lemon/CMakeFiles/lemon.dir/bits/windows.cc.obj
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:43:23: error: sys/times.h: No such file or directory
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc: In function 'void lemon::bits::getWinProcTimes(double&, double&, double&, double&, double&)':
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:82: error: 'tms' was not declared in this scope
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:82: error: expected ';' before 'ts'
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:83: error: '_SC_CLK_TCK' was not declared in this scope
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:83: error: 'sysconf' was not declared in this scope
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:84: error: 'ts' was not declared in this scope
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:84: error: 'times' was not declared in this scope
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc: In function 'std::string lemon::bits::getWinFormattedDate()':
L:\projects\ELTE\ProgOK2\mylemon\lemon\bits\windows.cc:113: error: 'ctime_r' was not declared in this scope
make.exe[2]: *** [lemon/CMakeFiles/lemon.dir/bits/windows.cc.obj] Error 1
make.exe[1]: *** [lemon/CMakeFiles/lemon.dir/all] Error 2
make.exe: *** [all] Error 2
Process terminated with status 2 (0 minutes, 2 seconds)
8 errors, 0 warnings

I tried it with CodeBlock 10.5 using the official installer version bundled with MinGW.

#520 fixed Compilation problem with VS: \bigobj compiler flag needed Alpar Juttner Alpar Juttner
Description

lgf_reader_writer_test.cc seems to be too complex to compile for VS2013:

E:\projects\LEMON\hg\main-test\test\lgf_reader_writer_test.cc : fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj
#615 fixed Compilation warnings (unused local typedefs) Alpar Juttner Alpar Juttner
Description

Clang compiler version 5.0 reports tons of warnings of unused local typedefs. This renders the compilation unsuccessful in Maintainer mode.

We need a decision how to handle it.

  • The majority of these warnings comes from the *GRAPH_TYPEDEFS macros.
    • One way to avoid would be to suppress them to apply some compiler specific #pragma statement, but I have no idea how to do it safely and compiler independently. Can anyone help me in doing this? Is it possible to do it locally only for these typedefs?
    • The other solution is to use the ignore_unused() templates. The attaches chgset [0f291d5010f6] does this, but it is painful, because ignore_unused() cannot (and need not) be used in the global scope. Therefore we need to versions of all of these macros, one with the warning suppression, and one without. This is far from being convenient.
  • In addition, there are couple of standalone unused local typedefs, mainly in the test codes. What shall we do with them?
    • Use ignore_unused() for them?
    • Or delete them for they are unnecessary?
    • Or just comment them out and keep them for future reference?
Note: See TracQuery for help on using queries.