Commit ec54754e authored by Max Kellermann's avatar Max Kellermann

Compiler.h: move to util/

parent 0ebba73c
......@@ -79,7 +79,6 @@ libmpd_a_SOURCES = \
$(OUTPUT_API_SRC) \
$(MIXER_API_SRC) \
src/check.h \
src/Compiler.h \
src/open.h \
src/protocol/Ack.cxx src/protocol/Ack.hxx \
src/protocol/ArgParser.cxx src/protocol/ArgParser.hxx \
......@@ -505,6 +504,7 @@ endif
# Generic utility library
libutil_a_SOURCES = \
src/Compiler.h \
src/util/Exception.cxx src/util/Exception.hxx \
src/util/RuntimeError.hxx \
src/util/Macros.hxx \
......
......@@ -21,7 +21,7 @@
#define MPD_AUDIO_FORMAT_HXX
#include "pcm/SampleFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
#include <stddef.h>
......
......@@ -25,7 +25,7 @@
#ifndef MPD_IDLE_FLAGS_HXX
#define MPD_IDLE_FLAGS_HXX
#include "Compiler.h"
#include "util/Compiler.h"
/** song database has been updated*/
static constexpr unsigned IDLE_DATABASE = 0x1;
......
......@@ -24,7 +24,7 @@
#include "event/Loop.hxx"
#include "event/Thread.hxx"
#include "event/MaskMonitor.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#ifdef ENABLE_SYSTEMD_DAEMON
#include "lib/systemd/Watchdog.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_LOCATE_URI_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "fs/AllocatedPath.hxx"
#ifdef _WIN32
......
......@@ -21,7 +21,7 @@
#define MPD_LOG_HXX
#include "LogLevel.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <exception>
......
......@@ -26,7 +26,7 @@
#include <string>
#include "Compiler.h"
#include "util/Compiler.h"
#define PLAYLIST_FILE_SUFFIX ".m3u"
......
......@@ -21,7 +21,7 @@
#define MPD_MIX_RAMP_INFO_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -22,7 +22,7 @@
#include "MusicChunkPtr.hxx"
#include "thread/Mutex.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#ifndef NDEBUG
#include "AudioFormat.hxx"
......
......@@ -30,7 +30,7 @@
#include "ReplayGainMode.hxx"
#include "SingleMode.hxx"
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <memory>
......
......@@ -21,7 +21,7 @@
#define MPD_REPLAY_GAIN_INFO_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "ReplayGainMode.hxx"
struct ReplayGainConfig;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_REPLAY_GAIN_MODE_HXX
#define MPD_REPLAY_GAIN_MODE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_SINGLE_MODE_HXX
#define MPD_SINGLE_MODE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -21,7 +21,7 @@
#define MPD_SONG_LOADER_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cstddef>
......
......@@ -23,7 +23,7 @@
#include "StateFileConfig.hxx"
#include "event/TimerEvent.hxx"
#include "fs/AllocatedPath.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <chrono>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_ANDROID_ENVIRONMENT_HXX
#define MPD_ANDROID_ENVIRONMENT_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <jni.h>
......
......@@ -26,7 +26,7 @@
#include "tag/Mask.hxx"
#include "event/FullyBufferedSocket.hxx"
#include "event/TimerEvent.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <boost/intrusive/link_mode.hpp>
#include <boost/intrusive/list_hook.hpp>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_MESSAGE_HXX
#define MPD_CLIENT_MESSAGE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "protocol/Ack.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stddef.h>
#include <stdarg.h>
......
......@@ -21,7 +21,7 @@
#define MPD_NEIGHBOR_COMMANDS_HXX
#include "CommandResult.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct Instance;
class Client;
......
......@@ -21,7 +21,7 @@
#define MPD_PLAYLIST_COMMANDS_HXX
#include "CommandResult.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class Client;
class Request;
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "Param.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <vector>
......
......@@ -21,7 +21,7 @@
#define MPD_CONFIG_CHECK_HXX
#include "Option.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct ConfigData;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_CONFIG_OPTION_HXX
#define MPD_CONFIG_OPTION_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#if defined(_WIN32) && CLANG_OR_GCC_VERSION(4,7)
/* "INPUT" is declared by winuser.h */
......
......@@ -21,7 +21,7 @@
#define MPD_CONFIG_PARAM_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DB_COUNT_HXX
#define MPD_DB_COUNT_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_GLUE_HXX
#define MPD_DATABASE_GLUE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct ConfigBlock;
class EventLoop;
......
......@@ -28,7 +28,7 @@
#include "check.h"
#include "thread/Mutex.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_PLAYLIST_HXX
#define MPD_DATABASE_PLAYLIST_HXX
#include "Compiler.h"
#include "util/Compiler.h"
class Database;
class Storage;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_SONG_HXX
#define MPD_DATABASE_SONG_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct LightSong;
class Database;
......
......@@ -22,7 +22,7 @@
#include "Visitor.hxx"
#include "tag/Type.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <chrono>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_LIGHT_DIRECTORY_HXX
#define MPD_LIGHT_DIRECTORY_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -21,7 +21,7 @@
#define MPD_PLAYLIST_INFO_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <chrono>
......
......@@ -21,7 +21,7 @@
#define MPD_PLAYLIST_VECTOR_HXX
#include "db/PlaylistInfo.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <list>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_REGISTRY_HXX
#define MPD_DATABASE_REGISTRY_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct DatabasePlugin;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_SELECTION_HXX
#define MPD_DATABASE_SELECTION_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -32,7 +32,7 @@
#include "song/UriSongFilter.hxx"
#include "song/BaseSongFilter.hxx"
#include "song/TagSongFilter.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include "config/Block.hxx"
#include "tag/Builder.hxx"
#include "tag/Tag.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_DIRECTORY_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "db/Visitor.hxx"
#include "db/PlaylistVector.hxx"
#include "Song.hxx"
......
......@@ -25,7 +25,7 @@
#include "fs/AllocatedPath.hxx"
#include "song/LightSong.hxx"
#include "util/Manual.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cassert>
......
......@@ -24,7 +24,7 @@
#include "Chrono.hxx"
#include "tag/Tag.hxx"
#include "AudioFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <boost/intrusive/list.hpp>
......
......@@ -21,7 +21,7 @@
#define MPD_UPNP_DIRECTORY_HXX
#include "Object.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <vector>
......
......@@ -21,7 +21,7 @@
#define MPD_UPNP_OBJECT_HXX
#include "tag/Tag.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "Remove.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct Directory;
struct Song;
......
......@@ -26,7 +26,7 @@
#define MPD_EXCLUDE_H
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "fs/Glob.hxx"
#include "input/Ptr.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class FileDescriptor;
......
......@@ -21,7 +21,7 @@
#define MPD_INOTIFY_UPDATE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
class EventLoop;
class Storage;
......
......@@ -21,7 +21,7 @@
#define MPD_UPDATE_QUEUE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <list>
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "event/DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <forward_list>
#include <string>
......
......@@ -25,7 +25,7 @@
#include "Queue.hxx"
#include "event/DeferEvent.hxx"
#include "thread/Thread.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class SimpleDatabase;
class DatabaseListener;
......
......@@ -21,7 +21,7 @@
#define MPD_UPDATE_IO_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
struct Directory;
struct StorageFileInfo;
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "Config.hxx"
#include "Editor.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <atomic>
......
......@@ -24,7 +24,7 @@
#include "DecoderCommand.hxx"
#include "Chrono.hxx"
#include "input/Ptr.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DECODER_BUFFER_HXX
#define MPD_DECODER_BUFFER_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/DynamicFifoBuffer.hxx"
#include "util/ConstBuffer.hxx"
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DECODER_LIST_HXX
#define MPD_DECODER_LIST_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct ConfigData;
struct DecoderPlugin;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_DECODER_PLUGIN_HXX
#define MPD_DECODER_PLUGIN_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <forward_list>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "fs/io/Reader.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class DecoderClient;
class InputStream;
......
......@@ -22,7 +22,7 @@
#include "system/ByteOrder.hxx"
#include "input/Offset.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -23,7 +23,7 @@
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "Log.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <exception>
......
......@@ -21,7 +21,7 @@
#define MPD_ENCODER_INTERFACE_HXX
#include "EncoderPlugin.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
#include <stddef.h>
......
......@@ -21,7 +21,7 @@
#include "NullEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class NullEncoder final : public Encoder {
DynamicFifoBuffer<uint8_t> buffer;
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "BufferedSocket.hxx"
#include "net/SocketError.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <algorithm>
......
......@@ -23,7 +23,7 @@
#include "DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <exception>
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "FullyBufferedSocket.hxx"
#include "net/SocketError.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
#include <string.h>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "thread/Id.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include "PollGroup.hxx"
#include "thread/Mutex.hxx"
......
......@@ -24,7 +24,7 @@
#include "IdleMonitor.hxx"
#include "TimerEvent.hxx"
#include "SocketMonitor.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <forward_list>
#include <iterator>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "system/EPollFD.hxx"
#include <array>
......
......@@ -26,7 +26,7 @@
#ifndef MPD_FILTER_REGISTRY_HXX
#define MPD_FILTER_REGISTRY_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct FilterPlugin;
......
......@@ -30,7 +30,7 @@
#include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "AudioFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/ConstBuffer.hxx"
class NullFilter final : public Filter {
......
......@@ -21,7 +21,7 @@
#include "AllocatedPath.hxx"
#include "Domain.hxx"
#include "Charset.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <exception>
......
......@@ -21,7 +21,7 @@
#define MPD_FS_ALLOCATED_PATH_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "Traits.hxx"
#include "Path.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_FS_CHARSET_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "Traits.hxx"
#if (defined(HAVE_ICU) || defined(HAVE_ICONV)) && !defined(_WIN32)
......
......@@ -33,7 +33,7 @@
#endif
#ifdef HAVE_CLASS_GLOB
#include "Compiler.h"
#include "util/Compiler.h"
/**
* A pattern that matches file names. It may contain shell wildcards
......
......@@ -21,7 +21,7 @@
#define MPD_FS_PATH_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "Traits.hxx"
#include <string>
......
......@@ -21,7 +21,7 @@
#define MPD_FS_TRAITS_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/StringPointer.hxx"
#include "util/StringAPI.hxx"
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "PeekReader.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class GunzipReader;
......
......@@ -31,7 +31,7 @@
#define BUFFERED_OUTPUT_STREAM_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/DynamicFifoBuffer.hxx"
#include <stddef.h>
......
......@@ -21,7 +21,7 @@
#define MPD_BUFFERED_READER_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/DynamicFifoBuffer.hxx"
#include <stddef.h>
......
......@@ -33,7 +33,7 @@
#include "check.h"
#include "OutputStream.hxx"
#include "fs/AllocatedPath.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#ifndef _WIN32
#include "system/FileDescriptor.hxx"
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "Reader.hxx"
#include "fs/AllocatedPath.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#ifndef _WIN32
#include "system/FileDescriptor.hxx"
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "Reader.hxx"
#include "util/StaticFifoBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <zlib.h>
......
......@@ -32,7 +32,7 @@
#include "check.h"
#include "OutputStream.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <zlib.h>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "Reader.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -21,7 +21,7 @@
#define MPD_READER_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stddef.h>
......
......@@ -32,7 +32,7 @@
#include "check.h"
#include "OutputStream.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdio.h>
......
......@@ -21,7 +21,7 @@
#define MPD_TEXT_FILE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
class Path;
class FileReader;
......
......@@ -21,7 +21,7 @@
#define INPUT_ERROR_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <exception>
......
......@@ -21,7 +21,7 @@
#define MPD_ICY_INPUT_STREAM_HXX
#include "ProxyInputStream.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
......
......@@ -24,7 +24,7 @@
#include "Offset.hxx"
#include "Ptr.hxx"
#include "thread/Mutex.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <memory>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "fs/io/Reader.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct Decoder;
class InputStream;
......
......@@ -30,7 +30,7 @@
#ifndef JAVA_GLOBAL_HXX
#define JAVA_GLOBAL_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <jni.h>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "pcm/SampleFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <alsa/asoundlib.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_ALSA_VERSION_HXX
#define MPD_ALSA_VERSION_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -30,7 +30,7 @@
#ifndef CURL_VERSION_HXX
#define CURL_VERSION_HXX
#include "Compiler.h"
#include "util/Compiler.h"
gcc_const
bool
......
......@@ -33,7 +33,7 @@
#ifndef ODBUS_ERROR_HXX
#define ODBUS_ERROR_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <dbus/dbus.h>
......
......@@ -22,7 +22,7 @@
#include "ReadIter.hxx"
#include "ObjectManager.hxx"
#include "util/StringAPI.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <functional>
......
......@@ -36,7 +36,7 @@
#include "Connection.hxx"
#include "event/SocketMonitor.hxx"
#include "event/DeferEvent.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <dbus/dbus.h>
......
......@@ -21,7 +21,7 @@
#define MPD_EXPAT_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <expat.h>
......
......@@ -21,7 +21,7 @@
#define MPD_FFMPEG_TIME_HXX
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
extern "C" {
#include <libavutil/avutil.h>
......
......@@ -31,7 +31,7 @@
#define GCRYPT_HASH_HXX
#include "util/ConstBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <gcrypt.h>
......
......@@ -31,7 +31,7 @@
#define GCRYPT_MD5_HXX
#include "util/StringBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <array>
......
......@@ -25,7 +25,7 @@
#if defined(HAVE_ICU) || defined(_WIN32)
#define HAVE_ICU_CASE_FOLD
#include "Compiler.h"
#include "util/Compiler.h"
template<typename T> class AllocatedString;
......
......@@ -21,7 +21,7 @@
#define MPD_ICU_COLLATE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
/**
* Throws #std::runtime_error on error.
......
......@@ -21,7 +21,7 @@
#define MPD_ICU_COMPARE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/AllocatedString.hxx"
/**
......
......@@ -21,7 +21,7 @@
#define MPD_ICU_CONVERTER_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#ifdef HAVE_ICU
#include "thread/Mutex.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_ICU_WIN32_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <wchar.h>
......
......@@ -21,7 +21,7 @@
#define MPD_NFS_BASE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
/**
* Set the "base" NFS server and export name. This will be the
......
......@@ -20,7 +20,7 @@
#ifndef MPD_NFS_CANCELLABLE_HXX
#define MPD_NFS_CANCELLABLE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <boost/intrusive/list.hpp>
......
......@@ -24,7 +24,7 @@
#include "Lease.hxx"
#include "Callback.hxx"
#include "event/DeferEvent.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <exception>
......
......@@ -21,7 +21,7 @@
#define MPD_NFS_GLUE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
class EventLoop;
class NfsConnection;
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "Connection.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include "event/IdleMonitor.hxx"
#include <boost/intrusive/set.hpp>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_UPNP_ACTION_HXX
#define MPD_UPNP_ACTION_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <upnptools.h>
......
......@@ -30,7 +30,7 @@ using UpnpDiscovery = Upnp_Discovery;
#endif
#if UPNP_VERSION < 10624
#include "Compiler.h"
#include "util/Compiler.h"
gcc_pure
static inline int
......
......@@ -20,7 +20,7 @@
#ifndef _UPNPDIR_HXX_INCLUDED_
#define _UPNPDIR_HXX_INCLUDED_
#include "Compiler.h"
#include "util/Compiler.h"
#include <upnp.h>
......
......@@ -28,7 +28,7 @@
#include "lib/curl/Request.hxx"
#include "thread/Mutex.hxx"
#include "event/DeferEvent.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <upnp.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_UPNP_UTIL_HXX
#define MPD_UPNP_UTIL_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <list>
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "FlacIOHandle.hxx"
#include "Log.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include "system/Error.hxx"
#include <errno.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_IO_HANDLE_HXX
#define MPD_FLAC_IO_HANDLE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include "input/InputStream.hxx"
#include <FLAC/callback.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_METADATA_CHAIN_HXX
#define MPD_FLAC_METADATA_CHAIN_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <FLAC/metadata.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_METADATA_ITERATOR_HXX
#define MPD_FLAC_METADATA_ITERATOR_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <FLAC/metadata.h>
......
......@@ -18,7 +18,7 @@
*/
#include "OggSerial.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <atomic>
#include <chrono>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_LS_HXX
#define MPD_LS_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdio.h>
......
......@@ -23,7 +23,7 @@
#include "MixerPlugin.hxx"
#include "MixerList.hxx"
#include "thread/Mutex.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class MixerListener;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_MIXER_TYPE_HXX
#define MPD_MIXER_TYPE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
enum class MixerType {
/** mixer disabled */
......
......@@ -20,7 +20,7 @@
#ifndef MPD_VOLUME_HXX
#define MPD_VOLUME_HXX
#include "Compiler.h"
#include "util/Compiler.h"
class MultipleOutputs;
class BufferedOutputStream;
......
......@@ -23,7 +23,7 @@
#include "config.h"
#include "mixer/MixerInternal.hxx"
#include "output/plugins/HaikuOutputPlugin.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/RuntimeError.hxx"
......
......@@ -22,7 +22,7 @@
#include "config.h"
#include "mixer/MixerInternal.hxx"
#include "output/plugins/RoarOutputPlugin.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class RoarMixer final : public Mixer {
/** the base mixer class */
......
......@@ -21,7 +21,7 @@
#define MPD_NEIGHBOR_ALL_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "thread/Mutex.hxx"
#include <forward_list>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_NEIGHBOR_REGISTRY_HXX
#define MPD_NEIGHBOR_REGISTRY_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct NeighborPlugin;
......
......@@ -32,7 +32,7 @@
#include "SocketAddress.hxx"
#include "Features.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <algorithm>
......
......@@ -21,7 +21,7 @@
#define MPD_RESOLVER_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
struct addrinfo;
......
......@@ -31,7 +31,7 @@
#define SOCKET_ADDRESS_HXX
#include "Features.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cstddef>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_SOCKET_ERROR_HXX
#define MPD_SOCKET_ERROR_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include "system/Error.hxx"
#ifdef _WIN32
......
......@@ -31,7 +31,7 @@
#define STATIC_SOCKET_ADDRESS_HXX
#include "SocketAddress.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
......
......@@ -31,7 +31,7 @@
#define NET_TO_STRING_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -26,7 +26,7 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "system/PeriodClock.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <utility>
#include <exception>
......
......@@ -18,7 +18,7 @@
*/
#include "Interface.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdexcept>
......
......@@ -32,7 +32,7 @@
#include "AudioFormat.hxx"
#include "ReplayGainMode.hxx"
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <vector>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_OUTPUT_PLUGIN_HXX
#define MPD_OUTPUT_PLUGIN_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <chrono>
......
......@@ -21,7 +21,7 @@
#define SHARED_PIPE_CONSUMER_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
......
......@@ -21,7 +21,7 @@
#define AUDIO_OUTPUT_SOURCE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "SharedPipeConsumer.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainMode.hxx"
......
......@@ -24,7 +24,7 @@
#ifdef ENABLE_WINMM_OUTPUT
#include "Compiler.h"
#include "util/Compiler.h"
#include <windows.h>
#include <mmsystem.h>
......
......@@ -22,7 +22,7 @@
#include "Page.hxx"
#include "event/BufferedSocket.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <boost/intrusive/link_mode.hpp>
#include <boost/intrusive/list_hook.hpp>
......
......@@ -33,7 +33,7 @@
#include "event/ServerSocket.hxx"
#include "event/DeferEvent.hxx"
#include "util/Cast.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <boost/intrusive/list.hpp>
......
......@@ -23,7 +23,7 @@
#include "Resampler.hxx"
#include "PcmBuffer.hxx"
#include "AudioFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
/**
* A naive resampler that is used when no external library was found
......
......@@ -21,7 +21,7 @@
#define MPD_PCM_INTERLEAVE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include "util/ConstBuffer.hxx"
#include <stdint.h>
......
......@@ -23,7 +23,7 @@
#include "Resampler.hxx"
#include "PcmBuffer.hxx"
#include "AudioFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <samplerate.h>
......
......@@ -21,7 +21,7 @@
#define PCM_BUFFER_HXX
#include "util/ReusableArray.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -21,7 +21,7 @@
#define MPD_PCM_MIX_HXX
#include "SampleFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <stddef.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_PCM_UTILS_H
#define MPD_PCM_UTILS_H
#include "Compiler.h"
#include "util/Compiler.h"
#include <limits>
......
......@@ -21,7 +21,7 @@
#define MPD_PCM_RESAMPLER_HXX
#include "util/ConstBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct AudioFormat;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_PCM_SAMPLE_FORMAT_HXX
#define MPD_PCM_SAMPLE_FORMAT_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -22,7 +22,7 @@
#include "Resampler.hxx"
#include "PcmBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct AudioFormat;
struct ConfigBlock;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_CROSSFADE_HXX
#define MPD_CROSSFADE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
struct AudioFormat;
class SignedSongTime;
......
......@@ -22,7 +22,7 @@
#include "MusicChunkPtr.hxx"
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct AudioFormat;
struct MusicChunk;
......
......@@ -22,7 +22,7 @@
#include "SongEnumerator.hxx"
#include "song/DetachedSong.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <forward_list>
......
......@@ -21,7 +21,7 @@
#define MPD_PLAYLIST_REGISTRY_HXX
#include "input/Ptr.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct ConfigData;
class Mutex;
......
......@@ -20,7 +20,7 @@
#ifndef MPD_PLAYLIST_STREAM_HXX
#define MPD_PLAYLIST_STREAM_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "song/DetachedSong.hxx"
#include "tag/Builder.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <memory>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_ID_TABLE_HXX
#define MPD_ID_TABLE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <algorithm>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_QUEUE_HXX
#define MPD_QUEUE_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include "IdTable.hxx"
#include "SingleMode.hxx"
#include "util/LazyRandomEngine.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_AND_SONG_FILTER_HXX
#include "ISongFilter.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <list>
......
......@@ -21,7 +21,7 @@
#define MPD_BASE_SONG_FILTER_HXX
#include "ISongFilter.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
class BaseSongFilter final : public ISongFilter {
std::string value;
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "tag/Tag.hxx"
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <chrono>
#include <string>
......
......@@ -21,7 +21,7 @@
#define MPD_SONG_FILTER_HXX
#include "AndSongFilter.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_I_SONG_FILTER_HXX
#define MPD_I_SONG_FILTER_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
#include <string>
......
......@@ -22,7 +22,7 @@
#include "Chrono.hxx"
#include "AudioFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <chrono>
......
......@@ -21,7 +21,7 @@
#define MPD_STRING_FILTER_HXX
#include "lib/icu/Compare.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -43,7 +43,7 @@
#define MPD_STICKER_DATABASE_HXX
#include "Match.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <string>
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "StorageInterface.hxx"
#include "thread/Mutex.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
#include <string>
......
......@@ -21,7 +21,7 @@
#define MPD_STORAGE_CONFIG_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
......
......@@ -21,7 +21,7 @@
#define MPD_STORAGE_REGISTRY_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
......
......@@ -21,7 +21,7 @@
#define MPD_STORAGE_INTERFACE_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
#include <string>
......
......@@ -21,7 +21,7 @@
#define MPD_STORAGE_LOCAL_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <memory>
......
......@@ -30,7 +30,7 @@
#ifndef BYTE_ORDER_HXX
#define BYTE_ORDER_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <stdint.h>
......
......@@ -20,7 +20,7 @@
#ifndef MPD_CLOCK_H
#define MPD_CLOCK_H
#include "Compiler.h"
#include "util/Compiler.h"
#ifdef _WIN32
......
......@@ -30,7 +30,7 @@
#ifndef SYSTEM_ERROR_HXX
#define SYSTEM_ERROR_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include <system_error>
#include <utility>
......
......@@ -21,7 +21,7 @@
#ifdef USE_EVENTFD
#include "EventFD.hxx"
#include "system/Error.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
#include <sys/eventfd.h>
......
......@@ -22,7 +22,7 @@
#include "FileDescriptor.hxx"
#include "system/Error.hxx"
#include "util/ScopeExit.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
#include <unistd.h>
......
......@@ -21,7 +21,7 @@
#define MPD_FATAL_ERROR_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#ifdef _WIN32
#include <windef.h>
......
......@@ -31,7 +31,7 @@
#define FILE_DESCRIPTOR_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <utility>
......
......@@ -22,7 +22,7 @@
#include "Type.h"
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <vector>
#include <memory>
......
......@@ -21,7 +21,7 @@
#define MPD_TAG_STRING_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
struct StringView;
template<typename T> struct WritableBuffer;
......
......@@ -21,7 +21,7 @@
#define MPD_TAG_FORMAT_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
struct Tag;
......
......@@ -23,7 +23,7 @@
#include "check.h"
#include "Type.h"
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
struct AudioFormat;
class TagBuilder;
......
......@@ -21,7 +21,7 @@
#define MPD_TAG_PARSE_NAME_HXX
#include "Type.h"
#include "Compiler.h"
#include "util/Compiler.h"
/**
* Parse the string, and convert it into a #TagType. Returns
......
......@@ -20,7 +20,7 @@
#ifndef MPD_TAG_SET_HXX
#define MPD_TAG_SET_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#include "Tag.hxx"
#include <set>
......
......@@ -22,7 +22,7 @@
#include "Mask.hxx"
#include "Type.h"
#include "Compiler.h"
#include "util/Compiler.h"
extern TagMask global_tag_mask;
......
......@@ -21,7 +21,7 @@
#define MPD_TAG_TABLE_HXX
#include "Type.h"
#include "Compiler.h"
#include "util/Compiler.h"
struct tag_table {
const char *name;
......
......@@ -23,7 +23,7 @@
#include "Type.h" // IWYU pragma: export
#include "Item.hxx" // IWYU pragma: export
#include "Chrono.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <algorithm>
#include <memory>
......
......@@ -21,7 +21,7 @@
#define MPD_TAG_VORBIS_COMMENT_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
/**
* Checks if the specified name matches the entry's name, and if yes,
......
......@@ -20,7 +20,7 @@
#ifndef MPD_THREAD_ID_HXX
#define MPD_THREAD_ID_HXX
#include "Compiler.h"
#include "util/Compiler.h"
#ifdef _WIN32
#include <windows.h>
......
......@@ -22,7 +22,7 @@
#include "check.h"
#include "util/BindMethod.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#ifdef _WIN32
#include <windows.h>
......
......@@ -22,7 +22,7 @@
#ifdef _WIN32
#include "Compiler.h"
#include "util/Compiler.h"
#include "Instance.hxx"
#include "system/FatalError.hxx"
......
......@@ -21,7 +21,7 @@
#define MPD_AVAHI_POLL_HXX
#include "check.h"
#include "Compiler.h"
#include "util/Compiler.h"
#include <avahi-common/watch.h>
......
......@@ -24,7 +24,7 @@
#include "event/SocketMonitor.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <dns_sd.h>
......
......@@ -26,7 +26,7 @@
#include "Listen.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
static constexpr Domain zeroconf_domain("zeroconf");
......
......@@ -22,7 +22,7 @@
#include "decoder/DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "util/StringBuffer.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <unistd.h>
#include <stdio.h>
......
#include "config.h"
#include "archive/ArchiveLookup.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
......
......@@ -19,7 +19,7 @@
#include "util/ByteReverse.hxx"
#include "util/Macros.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "test_pcm_all.hxx"
#include "TestAudioFormat.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
......
#include "config.h"
#include "protocol/ArgParser.hxx"
#include "protocol/Ack.hxx"
#include "Compiler.h"
#include "util/Compiler.h"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment