Skip to content

Remove backup implementation of Round for Windows platforms - #6693

Merged
radarhere merged 1 commit into
python-pillow:mainfrom
cgohlke:patch-3
Oct 29, 2022
Merged

radarhere merged 1 commit into
python-pillow:mainfrom
cgohlke:patch-3

Conversation

@cgohlke

@cgohlke cgohlke commented Oct 27, 2022

Copy link
Copy Markdown
Contributor

Fixes link error on Visual Studio 2019 14.29.30133 with Windows 10 SDK 10.0.19041.0:

ucrt.lib(api-ms-win-crt-math-l1-1-0.dll) : error LNK2005: round already defined in Convert.obj
   Creating library build\temp.win-amd64-3.10\Release\src\_imaging.cp310-win_amd64.lib and object build\temp.win-amd64-3.10\Release\src\_imaging.cp310-win_amd64.exp
build\lib.win-amd64-3.10\PIL\_imaging.cp310-win_amd64.pyd : fatal error LNK1169: one or more multiply defined symbols found
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\link.exe' failed with exit code 1169

@cgohlke cgohlke changed the title WIP: Remove backup implementation of Round for Windows platforms Remove backup implementation of Round for Windows platforms Oct 27, 2022
@radarhere

Copy link
Copy Markdown
Member

This is reverting 9d00686