aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-07-04 09:27:25 +1000
committerNeil <nyamatongwe@gmail.com>2015-07-04 09:27:25 +1000
commite767f21c8ce6bb5c6291fd501562b8392c93ce70 (patch)
treedd323341ddd9029a4585a921a08c2048f31ba57b
parent82d6074c68595aab4610a39767b9007908a83a62 (diff)
downloadscintilla-mirror-e767f21c8ce6bb5c6291fd501562b8392c93ce70.tar.gz
Make std::exception visible to all core code to remove chance that a different
tool set will not indirectly include <stdexcept>.
-rw-r--r--src/AutoComplete.cxx1
-rw-r--r--src/CallTip.cxx1
-rw-r--r--src/CaseConvert.cxx1
-rw-r--r--src/CaseFolder.cxx1
-rw-r--r--src/Catalogue.cxx1
-rw-r--r--src/CharClassify.cxx2
-rw-r--r--src/ExternalLexer.cxx1
-rw-r--r--src/Indicator.cxx1
-rw-r--r--src/KeyMap.cxx1
-rw-r--r--src/LineMarker.cxx1
-rw-r--r--src/RESearch.cxx1
-rw-r--r--src/Selection.cxx1
-rw-r--r--src/Style.cxx2
-rw-r--r--src/UniConversion.cxx2
-rw-r--r--src/ViewStyle.cxx1
-rw-r--r--src/XPM.cxx1
16 files changed, 19 insertions, 0 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index 27eed53b9..c55c909bb 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -10,6 +10,7 @@
#include <stdio.h>
#include <assert.h>
+#include <stdexcept>
#include <string>
#include <vector>
#include <algorithm>
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index f6f3f10ea..3f8363bd4 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -9,6 +9,7 @@
#include <string.h>
#include <stdio.h>
+#include <stdexcept>
#include <string>
#include "Platform.h"
diff --git a/src/CaseConvert.cxx b/src/CaseConvert.cxx
index e8f533d5c..63a27222b 100644
--- a/src/CaseConvert.cxx
+++ b/src/CaseConvert.cxx
@@ -10,6 +10,7 @@
#include <cstring>
+#include <stdexcept>
#include <vector>
#include <algorithm>
diff --git a/src/CaseFolder.cxx b/src/CaseFolder.cxx
index 200ac99b8..4e095df1a 100644
--- a/src/CaseFolder.cxx
+++ b/src/CaseFolder.cxx
@@ -5,6 +5,7 @@
// Copyright 1998-2013 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#include <stdexcept>
#include <vector>
#include <algorithm>
diff --git a/src/Catalogue.cxx b/src/Catalogue.cxx
index b02a0108c..ed47aa8b7 100644
--- a/src/Catalogue.cxx
+++ b/src/Catalogue.cxx
@@ -12,6 +12,7 @@
#include <assert.h>
#include <ctype.h>
+#include <stdexcept>
#include <vector>
#include "ILexer.h"
diff --git a/src/CharClassify.cxx b/src/CharClassify.cxx
index cc431630d..595b0da30 100644
--- a/src/CharClassify.cxx
+++ b/src/CharClassify.cxx
@@ -8,6 +8,8 @@
#include <stdlib.h>
#include <ctype.h>
+#include <stdexcept>
+
#include "CharClassify.h"
#ifdef SCI_NAMESPACE
diff --git a/src/ExternalLexer.cxx b/src/ExternalLexer.cxx
index 25d83ceb8..2f81df7e0 100644
--- a/src/ExternalLexer.cxx
+++ b/src/ExternalLexer.cxx
@@ -11,6 +11,7 @@
#include <assert.h>
#include <ctype.h>
+#include <stdexcept>
#include <string>
#include "Platform.h"
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index 62df0b716..7380d52d2 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -5,6 +5,7 @@
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#include <stdexcept>
#include <vector>
#include <map>
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx
index cb6f2b8d4..a6b1cf6c4 100644
--- a/src/KeyMap.cxx
+++ b/src/KeyMap.cxx
@@ -7,6 +7,7 @@
#include <stdlib.h>
+#include <stdexcept>
#include <vector>
#include <map>
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index 98e75ca52..6239d1c9d 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -8,6 +8,7 @@
#include <string.h>
#include <math.h>
+#include <stdexcept>
#include <vector>
#include <map>
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 2824a5b70..6c14a0313 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -202,6 +202,7 @@
#include <stdlib.h>
+#include <stdexcept>
#include <string>
#include <algorithm>
diff --git a/src/Selection.cxx b/src/Selection.cxx
index 0a7c15c1a..5a673425f 100644
--- a/src/Selection.cxx
+++ b/src/Selection.cxx
@@ -7,6 +7,7 @@
#include <stdlib.h>
+#include <stdexcept>
#include <vector>
#include <algorithm>
diff --git a/src/Style.cxx b/src/Style.cxx
index ba3f97c3d..d8efd0ece 100644
--- a/src/Style.cxx
+++ b/src/Style.cxx
@@ -7,6 +7,8 @@
#include <string.h>
+#include <stdexcept>
+
#include "Platform.h"
#include "Scintilla.h"
diff --git a/src/UniConversion.cxx b/src/UniConversion.cxx
index 04053b057..c12ca34c2 100644
--- a/src/UniConversion.cxx
+++ b/src/UniConversion.cxx
@@ -7,6 +7,8 @@
#include <stdlib.h>
+#include <stdexcept>
+
#include "UniConversion.h"
#ifdef SCI_NAMESPACE
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index e56c8f375..32b3be527 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -8,6 +8,7 @@
#include <string.h>
#include <assert.h>
+#include <stdexcept>
#include <vector>
#include <map>
diff --git a/src/XPM.cxx b/src/XPM.cxx
index c2b308acb..20e6c8bfc 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -8,6 +8,7 @@
#include <stdlib.h>
#include <string.h>
+#include <stdexcept>
#include <vector>
#include <map>