summaryrefslogtreecommitdiff
path: root/src/util/TimeParser.cxx
AgeCommit message (Collapse)Author
2019-05-08util/Time*: move to time/Max Kellermann
2017-12-12*: check defined(_WIN32) instead of defined(WIN32)Max Kellermann
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
2017-05-08*: remove "pure" and "const" attributes from throwing functionsMax Kellermann
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*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-02-20util/TimeFormat: suppress -Wunused on WindowsMax Kellermann
2017-01-17AUTHORS, ...: update my email addressMax Kellermann
2017-01-07util/TimeParser: wrapper for strptime()Max Kellermann
Move code from SongFilter.cxx.