https://bugs.kde.org/show_bug.cgi?id=326398

--- Comment #2 from [email protected] ---
I think I can see the problem, but I'm not so sure of the best way to fix it
without breaking something else.

rasqal_decimal.c pulls in win32_rasqal_config.h in line 29
rasqal_decimal.c then pulls in math.h in line 41

win32_rasqal_config.h, line 70:
#define round(x) floor(x+0.5)

math.h, line 719:
extern double __cdecl round (double);

some googling suggests that msvc is fine with this but mingw certainly isn't

As a test, commenting the define out got the compile to proceed even further.
This doesn't feel like the right solution as the define is there to fill in for
a missing math.h file but something needs to be put in place so that the two
don't clash.

It makes me wonder how msvc is actually dealing with the situation, is it
simply blocking the round macro from expanding out?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows

Reply via email to