Author: matt
Date: 2010-10-22 08:15:23 -0700 (Fri, 22 Oct 2010)
New Revision: 7726
Log:
Remove OS X Xcode compiler warnings.

Modified:
   branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
   branches/branch-1.3/src/Fl_Text_Buffer.cxx

Modified: branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
===================================================================
--- branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj       
2010-10-19 12:29:35 UTC (rev 7725)
+++ branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj       
2010-10-22 15:15:23 UTC (rev 7726)
@@ -8225,7 +8225,14 @@
                        isa = PBXProject;
                        buildConfigurationList = 615453DB5B8EBEE070930DA7 /* 
Build configuration list for PBXProject "FLTK" */;
                        compatibilityVersion = "Xcode 3.0";
+                       developmentRegion = English;
                        hasScannedForEncodings = 0;
+                       knownRegions = (
+                               English,
+                               Japanese,
+                               French,
+                               German,
+                       );
                        mainGroup = 2000E0C1AD91ACA63811D339;
                        productRefGroup = DCB546B00EC62A9F8CC4181A /* Products 
*/;
                        projectDirPath = "";
@@ -12397,6 +12404,7 @@
                                GCC_MODEL_TUNING = G5;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = fltk.pch;
+                               GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
                                HEADER_SEARCH_PATHS = (
                                        ../../ide/XCode3/,
                                        ../../,
@@ -15575,6 +15583,7 @@
                                GCC_OPTIMIZATION_LEVEL = 0;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = fltk.pch;
+                               GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
                                HEADER_SEARCH_PATHS = (
                                        ../../ide/XCode3/,
                                        ../../,

Modified: branches/branch-1.3/src/Fl_Text_Buffer.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Text_Buffer.cxx  2010-10-19 12:29:35 UTC (rev 
7725)
+++ branches/branch-1.3/src/Fl_Text_Buffer.cxx  2010-10-22 15:15:23 UTC (rev 
7726)
@@ -1176,7 +1176,7 @@
         return 1;
       }
       // FIXME: character is ucs-4
-    } while ((matchCase ? character(bp++) == *sp++ :
+    } while ((matchCase ? character(bp++) == (unsigned int)*sp++ :
               toupper(character(bp++)) == toupper(*sp++))
              && bp < length());
     startPos++;
@@ -1201,7 +1201,7 @@
         return 1;
       }
       // FIXME: character is ucs-4
-    } while ((matchCase ? character(bp--) == *sp-- :
+    } while ((matchCase ? character(bp--) == (unsigned int)*sp-- :
               toupper(character(bp--)) == toupper(*sp--))
              && bp >= 0);
     startPos--;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to