Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1198100

Bug#1071363: snappy-tools: FTBFS: snappy.cpp:575:51: error: call of overloaded ‘Compress({anonymous}::fd_source*, {anonymous}::FILE_sink*)’ is ambiguous

From László Böszörményi (GCS) <gcs@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1071363: snappy-tools: FTBFS: snappy.cpp:575:51: error: call of overloaded ‘Compress({anonymous}::fd_source*, {anonymous}::FILE_sink*)’ is ambiguous
Date 2024-05-20 22:20 +0200
Message-ID <IGhEe-eHpz-21@gated-at.bofh.it> (permalink)
References <IFcGN-e26K-67@gated-at.bofh.it> <IFefn-e39L-7@gated-at.bofh.it> <IFcGN-e26K-67@gated-at.bofh.it> <IFefn-e39L-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, May 18, 2024 at 12:29 AM наб <nabijaczleweli@nabijaczleweli.xyz> wrote:
> But a fixed patch, would be much easier to produce:
 This is correct, thanks.

> I also see
[...]
> which should've gotten a similar treatment,
> or actually no treatment at all, because RawCompressFromIOVec() is new in 1.2
> (but AFAICT calling RawCompressFromIOVec() will fail on overload resolution like Compress()).
 Nope, it was added in v1.1.10 and it was part of the archive [1],
version 1.2.0 changed the function signature as the others [2] added
CompressionOptions.

Regards,
Laszlo/GCS
[1] https://tracker.debian.org/news/1445402/accepted-snappy-1110-1-source-into-unstable/
[2] https://github.com/google/snappy/commit/766d24c95e345d4d06bfd3cc5787c2da3e025fab#diff-ec7058c429b88797a43d7c3ef3a244980e46f8219844cd2550eaf4bcdc36e961L85

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1071363: snappy-tools: FTBFS: snappy.cpp:575:51: error: call of overloaded ‘Compress({anonymous}::fd_source*, {anonymous}::FILE_sink*)’ is ambiguous László Böszörményi (GCS) <gcs@debian.org> - 2024-05-20 22:20 +0200
  Bug#1071363: snappy-tools: FTBFS: snappy.cpp:575:51: error: call of overloaded ‘Compress({anonymous}::fd_source*, {anonymous}::FILE_sink*)’ is ambiguous наб <nabijaczleweli@nabijaczleweli.xyz> - 2024-05-20 23:10 +0200

csiph-web