Hi,
I created client application for iphone . while building I am getting the
following error Parse issue in the "SUPLogLevel.h" file like "Expected
selector for objective-c method" at the +(int) DEBUG method. I have attached
the file can you please tell me what is the problem.
Thanks & regards
Balakrishna
/*
Copyright (c) Sybase, Inc. 2010 All rights reserved.
In addition to the license terms set out in the Sybase License Agreement for
the Sybase Unwired Platform ("Program"), the following additional or different
rights and accompanying obligations and restrictions shall apply to the source
code in this file ("Code"). Sybase grants you a limited, non-exclusive,
non-transferable, revocable license to use, reproduce, and modify the Code
solely for purposes of (i) maintaining the Code as reference material to better
understand the operation of the Program, and (ii) development and testing of
applications created in connection with your licensed use of the Program.
The Code may not be transferred, sold, assigned, sublicensed or otherwise
conveyed (whether by operation of law or otherwise) to another party without
Sybase's prior written consent. The following provisions shall apply to any
modifications you make to the Code: (i) Sybase will not provide any maintenance
or support for modified Code or problems that result from use of modified Code;
(ii) Sybase expressly disclaims any warranties and conditions, express or
implied, relating to modified Code or any problems that result from use of the
modified Code; (iii) SYBASE SHALL NOT BE LIABLE FOR ANY LOSS OR DAMAGE RELATING
TO MODIFICATIONS MADE TO THE CODE OR FOR ANY DAMAGES RESULTING FROM USE OF THE
MODIFIED CODE, INCLUDING, WITHOUT LIMITATION, ANY INACCURACY OF DATA, LOSS OF
PROFITS OR DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN
IF SYBASE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES; (iv) you agree
to indemnify, hold harmless, and defend Sybase from and against any claims or
lawsuits, including attorney's fees, that arise from or are related to the
modified Code or from use of the modified Code.
*/
#import <Foundation/Foundation.h>
/*!
@class
@abstract Represents the allowed SUP log levels.
@discussion An int value of: 1, 2, 3, 4, 5, or 6. Corresponds to trace,
debug, info, warn, error, and fatal, respectively.
*/
@interface SUPLogLevel : NSObject
{
}
+ (int)TRACE;
+ (int)DEBUG;
+ (int)INFO;
/*!
@method
@abstract Returns the log level for WARN.
@result An int describing the log level.
@discussion
*/
+ (int)WARN;
/*!
@method
@abstract Returns the log level for ERROR.
@result An int describing the log level.
@discussion
*/
+ (int)ERROR;
/*!
@method
@abstract Returns the log level for FATAL.
@result An int describing the log level.
@discussion
*/
+ (int)FATAL;
/*!
@method
@abstract Returns the log level from the given string.
@param level The string describing the log level.
@result An int describing the log level.
@discussion
*/
+ (int)fromString:(NSString*)level;
+ (NSString*)toString:(int)level;
/*!
@method
@abstract Compares the log levels and returns 0 if equal, 1 if level1 >
level2 and -1 if level2 >level1.
@param level1 A log level.
@param level2 A log level.
@result An int describing the log level.
@discussion
*/
+ (int)compareLevels:(int)level1 withLevel:(int)level2;
@end
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_TRACE
#define SUPLogLevel_TRACE 1
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_DEBUG
#define SUPLogLevel_DEBUG 2
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_INFO
#define SUPLogLevel_INFO 3
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_WARN
#define SUPLogLevel_WARN 4
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_ERROR
#define SUPLogLevel_ERROR 5
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_FATAL
#define SUPLogLevel_FATAL 6
#endif
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep