You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /usr/include/fyba/fyba.h:89,
from sosi2osm.h:1,
from node.cpp:4:
node.cpp: In function 'long int createNode(double, double, short int, FILE*)':
/usr/include/fyba/fyut.h:128:18: error: expected unqualified-id before '(' token
#define max(a,b) (((a) > (b)) ? (a) : (b))
^
node.cpp:55:19: note: in expansion of macro 'max'
sizeM = std::max(1024, sizeM*2);
^~~
The text was updated successfully, but these errors were encountered:
There is a compilation issue with gcc 8.
Its's similar to kartverket/fyba#21 macro "min" passed 3 arguments, but takes just 2
After changing the intro of node.cpp into
I'm still getting an error:
The text was updated successfully, but these errors were encountered: