mpd/src/lib
Max Kellermann 788e3b31e1 *: remove "pure" and "const" attributes from throwing functions
The "pure" and "const" attributes are not so well-defined, and a
recent clang version implements an optimization which pushes the
definition's boundary beyond what I believed it was.  clang now
assumes that functions declared "pure" cannot throw exceptions, even
if they lack the "noexcept" specification.

When compiled with this new clang version, MPD will crash randomly if
an exception happens to get thrown by such as "pure" function
(https://github.com/MusicPlayerDaemon/MPD/issues/41).

This commit removes all such misplaced "pure" and "const" attributes,
closing #41.
2017-05-08 17:25:06 +02:00
..
curl *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
expat *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
ffmpeg *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
icu *: remove "pure" and "const" attributes from throwing functions 2017-05-08 17:25:06 +02:00
nfs *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
pulse update copyright year 2017-01-03 20:48:59 +01:00
smbclient update copyright year 2017-01-03 20:48:59 +01:00
sqlite update copyright year 2017-01-03 20:48:59 +01:00
upnp *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
xiph update copyright year 2017-01-03 20:48:59 +01:00
zlib update copyright year 2017-01-03 20:48:59 +01:00