mpd/src/fs/io
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
..
AutoGunzipReader.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
AutoGunzipReader.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00
BufferedOutputStream.cxx update copyright year 2017-01-03 20:48:59 +01:00
BufferedOutputStream.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00
BufferedReader.cxx update copyright year 2017-01-03 20:48:59 +01:00
BufferedReader.hxx *: remove "pure" and "const" attributes from throwing functions 2017-05-08 17:25:06 +02:00
FileOutputStream.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
FileOutputStream.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
FileReader.cxx update copyright year 2017-01-03 20:48:59 +01:00
FileReader.hxx *: remove "pure" and "const" attributes from throwing functions 2017-05-08 17:25:06 +02:00
GunzipReader.cxx fs/io/GunzipReader: use C++11 initializer 2017-01-04 10:37:34 +01:00
GunzipReader.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00
GzipOutputStream.cxx fs/io/{GunzipReader,GzipOutputStream: remove deprepcated dynamic exception specifications 2017-01-04 10:33:24 +01:00
GzipOutputStream.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00
OutputStream.hxx update copyright year 2017-01-03 20:48:59 +01:00
PeekReader.cxx update copyright year 2017-01-03 20:48:59 +01:00
PeekReader.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00
Reader.hxx update copyright year 2017-01-03 20:48:59 +01:00
StdioOutputStream.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00
TextFile.cxx update copyright year 2017-01-03 20:48:59 +01:00
TextFile.hxx fs/io/*: make constructors "explicit" 2017-01-04 10:41:04 +01:00