Compile error on 1.12
Moderator: Forum Moderators
Compile error on 1.12
Hi Guyz,
got an error yesterday as i tried to compile new release on my amd64 using clang-3.5.
Replacing lines 1655 & 1656 form modul /src/sdl_utils.cpp
with
solved that problem for me.
Cheers
Martin
btw. Thnx for the new release!
got an error yesterday as i tried to compile new release on my amd64 using clang-3.5.
Replacing lines 1655 & 1656 form modul /src/sdl_utils.cpp
Code: Select all
dst_w = static_cast<int>(ceil(abs(max_x) - min_x)) / zoom;
dst_h = static_cast<int>(ceil(abs(max_y) - min_y)) / zoom;
Code: Select all
dst_w = static_cast<int>(ceil(std::abs(max_x) - min_x)) / zoom;
dst_h = static_cast<int>(ceil(std::abs(max_y) - min_y)) / zoom;
Cheers
Martin
btw. Thnx for the new release!