Tweaks for building with clang

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-01-10 14:38:16 +00:00
parent 83b5863735
commit 87c6d320c5
24 changed files with 106 additions and 54 deletions

View file

@ -52,7 +52,7 @@ gdnc_log (int prio, const char *ebuf)
{
if (is_daemon)
{
syslog (log_priority | prio, ebuf);
syslog (log_priority | prio, "%s", ebuf);
}
else if (prio == LOG_INFO)
{

View file

@ -278,7 +278,7 @@ gdomap_log (int prio)
{
if (is_daemon)
{
syslog (log_priority | prio, ebuf);
syslog (log_priority | prio, "%s", ebuf);
}
else if (prio == LOG_INFO)
{

View file

@ -72,7 +72,7 @@ id process_plist(NSData *inputData)
NS_DURING
propertyList = [string propertyList];
NS_HANDLER
NSLog([localException description]);
NSLog(@"%@", localException);
NS_ENDHANDLER
// return the results

View file

@ -21,6 +21,7 @@
#include "config.h"
#include <Foundation/NSArray.h>
#include <Foundation/NSData.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSException.h>
#include <Foundation/NSString.h>
#include <Foundation/NSProcessInfo.h>