aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-17 10:31:31 +0000
committernyamatongwe <unknown>2001-02-17 10:31:31 +0000
commitf5a6397a8db8cc22692ea8ec301da05bee2dc291 (patch)
tree9267d2a1a13cf857a92d7cd91732a55798d08dc0
parent876968f47018a5fcdee2b7f323f2da1cab7c0746 (diff)
downloadscintilla-mirror-f5a6397a8db8cc22692ea8ec301da05bee2dc291.tar.gz
Made warning in ScintillaWidget.h work better with GCC.
-rw-r--r--gtk/ScintillaGTK.cxx2
-rw-r--r--include/ScintillaWidget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index d6b1c3c0d..57323f5bf 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -11,8 +11,8 @@
#include "Platform.h"
-#include "ScintillaWidget.h"
#include "Scintilla.h"
+#include "ScintillaWidget.h"
#ifdef SCI_LEXER
#include "SciLexer.h"
#include "PropSet.h"
diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h
index 2a7a02745..2382b65a1 100644
--- a/include/ScintillaWidget.h
+++ b/include/ScintillaWidget.h
@@ -14,7 +14,7 @@
#pragma message(__FILE__ "(1) : warning : Scintilla.h should be included before ScintillaWidget.h")
#pragma message("This will be required in the next version of Scintilla")
#else
-#warning __FILE__:1: warning: Scintilla.h should be included before ScintillaWidget.h
+#warning Scintilla.h should be included before ScintillaWidget.h
#warning This will be required in the next version of Scintilla
#endif
#include "Scintilla.h"