Skip to content

Conversation

@maksim-petukhou
Copy link

@maksim-petukhou maksim-petukhou commented Jul 21, 2023

auto_ptr is removed in C++17. This PR fixes gdal and ffmpeg plugin in a similar way than dae plugin was fixed (see 863dee5), but also takes into account that __cplusplus always reports 199711L in msvc when not using special flag /Zc:__cplusplus (see https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-170#remarks)

ptr_fun is also removed in C++17. That's why I provided C++17 compatible version of strip function for obj plugin.

@maksim-petukhou maksim-petukhou changed the title Allow building gdal plugin in C++17 msvc mode Allow building gdal, dae and ffmpeg plugins with /std:c++17 msvc flag Jul 21, 2023
fix again fix one more time
fix
@maksim-petukhou maksim-petukhou changed the title Allow building gdal, dae and ffmpeg plugins with /std:c++17 msvc flag Allow building gdal, dae, ffmpeg and obj plugins with /std:c++17 msvc flag Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant