Author: wlux
Date: Tue Sep  9 15:52:49 2014
New Revision: 38063

URL: http://svn.gna.org/viewcvs/gnustep?rev=38063&view=rev
Log:
Fix NSDebugLLog format issues detect by clang.

Modified:
    libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
    libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
    libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m

Modified: libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/ChangeLog?rev=38063&r1=38062&r2=38063&view=diff
==============================================================================
--- libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   Tue Sep  9 15:52:49 2014
@@ -1,3 +1,11 @@
+2014-09-09  Wolfgang Lux  <[email protected]>
+
+    * STBytecodeInterpreter.m (-sendSelectorAtIndex:withArgCount:):
+    * STCompiler.m (-compileString:, -emitPopAndStoreTemporary:,
+       -emitPopAndStoreVariable:, -emitPopAndStoreReceiverVariable:,
+       -emitSendSelector:argCount:):
+    Fix NSDebugLLog format issues detect by clang.
+
 2013-06-30  Wolfgang Lux  <[email protected]>
 
     * STSourceReader.m (-lineNumberForIndex:, -readNextToken): Tidy

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m?rev=38063&r1=38062&r2=38063&view=diff
==============================================================================
--- libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m     
(original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m     Tue Sep 
 9 15:52:49 2014
@@ -442,7 +442,7 @@
 
     NSDebugLLog(@"STSending",@"  invoking... (%@ %s)",invocation, [[invocation 
methodSignature] methodReturnType]);
     [invocation invoke];
-    NSDebugLLog(@"STSending",@"  done invoking.",invocation);
+    NSDebugLLog(@"STSending",@"  done invoking.");
 
     /* FIXME */
     if(!stopRequested)

Modified: libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m?rev=38063&r1=38062&r2=38063&view=diff
==============================================================================
--- libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m        (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m        Tue Sep  9 
15:52:49 2014
@@ -258,7 +258,7 @@
                                    @"reason: %@.";
 
 
-    NSDebugLLog(@"STCompiler", @"Compile string", aString);
+    NSDebugLLog(@"STCompiler", @"Compile string");
 
     isSingleMethod = NO;
 
@@ -1151,7 +1151,7 @@
 - (void)emitPopAndStoreTemporary:(NSUInteger)index
 {
     NSDebugLLog(@"STCompiler-emit",
-                @"#%04lx pop and store temp lu (%@)",
+                @"#%04lx pop and store temp %lu (%@)",
                 (unsigned long)bcpos,(unsigned long)index,
                 [tempVars objectAtIndex:index]);
                 
@@ -1161,7 +1161,7 @@
 - (void)emitPopAndStoreVariable:(NSUInteger)index
 {
     NSDebugLLog(@"STCompiler-emit",
-                @"#%04lx pop and store ext variable lu (%@)",
+                @"#%04lx pop and store ext variable %lu (%@)",
                 (unsigned long)bcpos,(unsigned long)index,
                 [namedReferences objectAtIndex:index]);
                 
@@ -1171,7 +1171,7 @@
 - (void)emitPopAndStoreReceiverVariable:(NSUInteger)index
 {
     NSDebugLLog(@"STCompiler-emit",
-                @"#%04lx pop and store rec variable lu (%@)",
+                @"#%04lx pop and store rec variable %lu (%@)",
                 (unsigned long)bcpos,(unsigned long)index,
                 [namedReferences objectAtIndex:index]);
                 
@@ -1182,7 +1182,7 @@
 - (void)emitSendSelector:(NSUInteger)index argCount:(NSUInteger)argCount
 {
     NSDebugLLog(@"STCompiler-emit",
-                @"#%04lx send selector lu (%@) with lu args",
+                @"#%04lx send selector %lu (%@) with %lu args",
                 (unsigned long)bcpos,(unsigned long)index,
                 [literals objectAtIndex:index],(unsigned long)argCount);
             


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to