Author: mlytwyn Date: Mon Oct 31 23:55:14 2016 New Revision: 40187 URL: http://svn.gna.org/viewcvs/gnustep?rev=40187&view=rev Log: Fix NSString* to char* warning
Modified: libs/base/branches/gnustep_testplant_branch/Source/NSProcessInfo.m Modified: libs/base/branches/gnustep_testplant_branch/Source/NSProcessInfo.m URL: http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSProcessInfo.m?rev=40187&r1=40186&r2=40187&view=diff ============================================================================== --- libs/base/branches/gnustep_testplant_branch/Source/NSProcessInfo.m (original) +++ libs/base/branches/gnustep_testplant_branch/Source/NSProcessInfo.m Mon Oct 31 23:55:14 2016 @@ -129,7 +129,7 @@ * or kit defines its own main function (as gnustep-base does). */ #if GS_FAKE_MAIN -#define _GNU_MISSING_MAIN_FUNCTION_CALL @"\nGNUSTEP Internal Error:\n\ +#define _GNU_MISSING_MAIN_FUNCTION_CALL "\nGNUSTEP Internal Error:\n\ The private GNUstep function to establish the argv and environment\n\ variables was not called.\n\ Perhaps your program failed to #include <Foundation/NSObject.h> or\n\ @@ -137,12 +137,12 @@ If that is not the problem, Please report the error to bug-gnus...@gnu.org.\n\n" #else #ifdef GS_PASS_ARGUMENTS -#define _GNU_MISSING_MAIN_FUNCTION_CALL @"\nGNUSTEP Error:\n\ +#define _GNU_MISSING_MAIN_FUNCTION_CALL "\nGNUSTEP Error:\n\ A call to NSProcessInfo +initializeWithArguments:... must be made\n\ as the first ObjC statment in main. This function is used to \n\ establish the argv and environment variables.\n" #else -#define _GNU_MISSING_MAIN_FUNCTION_CALL @"\nGNUSTEP Internal Error:\n\ +#define _GNU_MISSING_MAIN_FUNCTION_CALL "\nGNUSTEP Internal Error:\n\ The private GNUstep function to establish the argv and environment\n\ variables was not called.\n\ \n\ _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs