mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Fix warnings under clang-cl (#1106)
-Wmicrosoft-unqualified-friend -Wdllexport-explicit-instantiation-decl -Wunused-parameter Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
bec59b4b7b
commit
c0e9428218
@ -32,7 +32,6 @@
|
||||
namespace TagLib {
|
||||
namespace IT {
|
||||
class TAGLIB_EXPORT Properties : public AudioProperties {
|
||||
friend class File;
|
||||
public:
|
||||
/*! Flag bits. */
|
||||
enum {
|
||||
|
@ -50,8 +50,6 @@ namespace TagLib {
|
||||
void setLengthInPatterns(unsigned char lengthInPatterns);
|
||||
|
||||
private:
|
||||
friend class File;
|
||||
|
||||
Properties(const Properties&) = delete;
|
||||
Properties &operator=(const Properties&) = delete;
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
namespace TagLib {
|
||||
namespace S3M {
|
||||
class TAGLIB_EXPORT Properties : public AudioProperties {
|
||||
friend class File;
|
||||
public:
|
||||
/*! Flag bits. */
|
||||
enum {
|
||||
|
@ -58,7 +58,7 @@ namespace
|
||||
#endif
|
||||
}
|
||||
|
||||
FileHandle openFile(const int fileDescriptor, bool readOnly)
|
||||
FileHandle openFile([[maybe_unused]] const int fileDescriptor, [[maybe_unused]] bool readOnly)
|
||||
{
|
||||
return InvalidFileHandle;
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ bool zlib::isAvailable()
|
||||
#endif
|
||||
}
|
||||
|
||||
ByteVector zlib::decompress(const ByteVector &data)
|
||||
ByteVector zlib::decompress([[maybe_unused]] const ByteVector &data)
|
||||
{
|
||||
#ifdef HAVE_ZLIB
|
||||
|
||||
|
@ -33,7 +33,6 @@
|
||||
namespace TagLib {
|
||||
namespace XM {
|
||||
class TAGLIB_EXPORT Properties : public AudioProperties {
|
||||
friend class File;
|
||||
public:
|
||||
/*! Flag bits. */
|
||||
enum {
|
||||
|
Loading…
x
Reference in New Issue
Block a user