Go to file
Sergei Trofimovich 0b583bafd0 taglib: fix test build failure on powerpc/c++11 (#834)
powerpc is a platform with 'char' == 'unsigned char'.
As a result '-1' is not expressible in char and build fails as:

```
    # '-funsigned-char' to force test build failure on other platforms
    $ cmake .. -DBUILD_TESTS=YES -DCMAKE_CXX_FLAGS="-O2 -funsigned-char" -DCMAKE_C_FLAGS="-O2 -funsigned-char"
    ...
    $ make check
    tests/test_synchdata.cpp: In member function 'void TestID3v2SynchData::testToUIntBroken()':
    tests/test_synchdata.cpp:78:33: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
     char data[] = { 0, 0, 0, -1 };
                                 ^
```

The fix is to expliticly cast -1 to 'char'.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2017-09-18 20:06:55 -05:00
3rdparty/utf8-cpp Isolate 3rdparty library for easier maintenance. 2017-06-07 12:51:44 +09:00
bindings c: fix a typo 2016-04-22 16:46:15 +03:00
cmake/modules Run-time check for floating point byte order rather than CMake check. 2015-08-01 23:40:23 +09:00
doc Move docs building to CMake 2011-02-13 12:22:42 +00:00
examples Merge branch 'cmake-allow-BUILD_SHARED_LIBS-to-drive-ENABLE_STATIC' of https://github.com/tSed/taglib into tSed-cmake-allow-BUILD_SHARED_LIBS-to-drive-ENABLE_STATIC 2015-12-02 14:21:58 +09:00
taglib Check if mandatory header objects are present when opening ASF files. 2017-06-13 17:22:00 +09:00
tests taglib: fix test build failure on powerpc/c++11 (#834) 2017-09-18 20:06:55 -05:00
.astylerc Add astylerc 2015-05-18 11:31:55 +02:00
.editorconfig Add OS X settings to travis.yml. 2016-02-14 03:29:03 +09:00
.gitignore Ignoring files generated when creating an Xcode project via cmake. 2014-08-23 20:37:32 -07:00
.travis.yml Fix the Travis-CI testing on OS X. 2017-05-23 17:33:22 +09:00
AUTHORS Add myself to maintainers. 2016-03-03 10:06:51 +09:00
cmake_uninstall.cmake.in added uninstall target 2011-06-26 21:58:51 +02:00
CMakeLists.txt Fix WinRT configuring 2017-06-08 19:00:37 +05:00
config.h.cmake Remove all the optional dependencies on Boost. 2016-12-20 11:54:06 +09:00
ConfigureChecks.cmake Fix WinRT configuring 2017-06-08 19:00:37 +05:00
COPYING.LGPL Different LGPL version than was referenced in headers 2010-09-22 00:07:26 +00:00
COPYING.MPL Got permission from all (non-trivial) contributors to dual license under the MPL. 2007-10-10 18:22:58 +00:00
Doxyfile.cmake Support building documentation out-of-source-dir 2011-04-09 19:15:46 +02:00
INSTALL.md Update INSTALL.md 2017-06-05 14:49:09 +02:00
NEWS Update NEWS. 2017-06-12 13:07:21 +09:00
README.md Add README.md. 2016-11-08 22:56:42 +09:00
taglib-config.cmake Skip the patch version if it's 0 2015-08-25 17:04:34 +02:00
taglib-config.cmd.cmake Missed the full version string in taglib-config.cmd.cmake 2015-08-25 20:46:11 +02:00
taglib.pc.cmake Fix .pc file configuration. 2015-12-21 22:25:49 +01:00

TagLib

Build Status

TagLib Audio Meta-Data Library

http://taglib.org/

TagLib is a library for reading and editing the meta-data of several popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack, TrueAudio, WAV, AIFF, MP4 and ASF files.

TagLib is distributed under the GNU Lesser General Public License (LGPL) and Mozilla Public License (MPL). Essentially that means that it may be used in proprietary applications, but if changes are made to TagLib they must be contributed back to the project. Please review the licenses if you are considering using TagLib in your project.