#include "support/strfwd.h"
+// Forward definitions do not work with libc++
+// but ios_base has already been defined in strfwd
+// if compiling with it
+#ifndef USE_LLVM_LIBCPP
namespace std {
class ios_base;
typedef basic_streambuf<char, char_traits<char> > streambuf;
}
+#endif
namespace lyx {
///
WORKAREA = (1 << 19),
///
- INSETTEXT = (1 << 20),
+ CLIPBOARD = (1 << 20),
///
GRAPHICS = (1 << 21),
/// change tracking
class LyXErr
{
public:
- LyXErr(): enabled_(true), second_enabled_(false) {}
+ LyXErr(): dt_(Debug::NONE), stream_(0), enabled_(true),
+ second_stream_(0), second_enabled_(false) {}
/// Disable the stream completely
void disable();