﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	revision
418	Compilation problem with CodeBlock + MinGW	Alpar Juttner	Alpar Juttner	"[source:lemon/bits/windows.cc@3f0ddf255524 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."	defect	closed	major	LEMON 1.3 release	core	hg main	fixed			
