Fix NSDebugLLog format issues detect by clang.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38063 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2014-09-09 13:52:49 +00:00
parent 66bd2c33fe
commit 779c0b47c4
3 changed files with 14 additions and 6 deletions

View file

@ -1,3 +1,11 @@
2014-09-09 Wolfgang Lux <wolfgang.lux@gmail.com>
* STBytecodeInterpreter.m (-sendSelectorAtIndex:withArgCount:):
* STCompiler.m (-compileString:, -emitPopAndStoreTemporary:,
-emitPopAndStoreVariable:, -emitPopAndStoreReceiverVariable:,
-emitSendSelector:argCount:):
Fix NSDebugLLog format issues detect by clang.
2013-06-30 Wolfgang Lux <wolfgang.lux@gmail.com>
* STSourceReader.m (-lineNumberForIndex:, -readNextToken): Tidy

View file

@ -442,7 +442,7 @@ static Class NSInvocation_class = nil;
NSDebugLLog(@"STSending",@" invoking... (%@ %s)",invocation, [[invocation methodSignature] methodReturnType]);
[invocation invoke];
NSDebugLLog(@"STSending",@" done invoking.",invocation);
NSDebugLLog(@"STSending",@" done invoking.");
/* FIXME */
if(!stopRequested)

View file

@ -258,7 +258,7 @@ extern int STCparse(void *context);
@"reason: %@.";
NSDebugLLog(@"STCompiler", @"Compile string", aString);
NSDebugLLog(@"STCompiler", @"Compile string");
isSingleMethod = NO;
@ -1151,7 +1151,7 @@ extern int STCparse(void *context);
- (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 @@ extern int STCparse(void *context);
- (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 @@ extern int STCparse(void *context);
- (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 @@ extern int STCparse(void *context);
- (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);