summaryrefslogtreecommitdiff
path: root/src/Fl_Help_View.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2009-03-15 03:14:43 +0000
committerGreg Ercolano <erco@seriss.com>2009-03-15 03:14:43 +0000
commita68ea3c06961b6dbc5ad671c50f6a2e01624a689 (patch)
treee3d3960e9c5c3795780e88b24c582e5d88c870ee /src/Fl_Help_View.cxx
parent3ed30905a958548b91b3edfe43ad5b3333d773eb (diff)
Surrounded all #warning's with #if defined(__GNUC__)
to prevent compiling problems on non-gnu compilers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_View.cxx')
-rw-r--r--src/Fl_Help_View.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 9b33e5ffe..312d5cbc5 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -1455,7 +1455,9 @@ void Fl_Help_View::format() {
popfont(font, fsize, fcolor);
+ //#if defined(__GNUC__)
//#warning FIXME this isspace & 255 test will probably not work on a utf8 stream... And we use it everywhere!
+ //#endif /*__GNUC__*/
while (isspace((*ptr)&255))
ptr ++;