Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created September 1, 2011 01:37
Show Gist options
  • Save springmeyer/1185199 to your computer and use it in GitHub Desktop.
Save springmeyer/1185199 to your computer and use it in GitHub Desktop.
In file included from src/feature_style_processor.cpp:53:
include/mapnik/timer.hpp:43:25: error: no viable overloaded '='
_wall_clock_end = NULL;
~~~~~~~~~~~~~~~ ^ ~~~~
/usr/include/sys/_structs.h:100:1: note: candidate function (the implicit copy assignment operator) not viable: no known conversion
from 'long' to 'const timeval' for 1st argument;
_STRUCT_TIMEVAL
^
/usr/include/sys/_structs.h:99:33: note: expanded from:
#define _STRUCT_TIMEVAL struct timeval
^
In file included from src/feature_style_processor.cpp:53:
include/mapnik/timer.hpp:60:13: error: member function 'stop' not viable: 'this' argument has type 'const mapnik::timer', but function
is not marked const
stop();
^~~~
include/mapnik/timer.hpp:50:18: note: 'stop' declared here
virtual void stop()
^
include/mapnik/timer.hpp:68:13: error: invalid argument type 'const timeval' to unary expression
if (!_wall_clock_end)
^~~~~~~~~~~~~~~~
include/mapnik/timer.hpp:69:13: error: member function 'stop' not viable: 'this' argument has type 'const mapnik::timer', but function
is not marked const
stop();
^~~~
include/mapnik/timer.hpp:50:18: note: 'stop' declared here
virtual void stop()
^
include/mapnik/timer.hpp:106:78: error: expected ';' after expression
s << wall_clock_elapsed() << "ms (cpu " << cpu_elapsed() << "ms)"
^
;
5 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment