mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #104] [MERGED] Fix VS2013 compiler warnings (errors) #838
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/104
Author: @benshoof
Created: 12/15/2015
Status: ✅ Merged
Merged: 12/15/2015
Merged by: @adamhathcock
Base:
master← Head:fix-vs2013-build📝 Commits (1)
cc2ad7dFix VS2013 compiler warnings (errors)📊 Changes
1 file changed (+6 additions, -6 deletions)
View changed files
📝
SharpCompress/Compressor/Deflate/DeflateManager.cs(+6 -6)📄 Description
Fixes broken build in VS2013 introduced by
18bd810228. That commit attempted to fix acompiler warning from VS2015, but this turns out to be a compiler bug:
https://github.com/dotnet/roslyn/issues/4027 . That commit added code
which VS2013 correctly treats as a compiler warning, breaking the VS2013
build.
I have reverted this unnecessary change to the deflate code, fixing the
VS2013 build, and disabled warning CS0675 on send_bits() which will
satisfy VS2015.
Fixes https://github.com/adamhathcock/sharpcompress/issues/79
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.