mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Use new diagnose flag
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11736 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9291b41a66
commit
c1812b56f5
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-12-12 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Headers/gnustep/base/NSDebug.h: Include NSDebugLog functions
|
||||
when GSDIAGNOSE is defined.
|
||||
|
||||
2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
|
||||
|
|
|
@ -113,9 +113,10 @@ GS_EXPORT NSString* GSDebugMethodMsg(id obj, SEL sel, const char *file,
|
|||
|
||||
|
||||
|
||||
/* Debug logging which can be enabled/disabled by defining GSWARN (see
|
||||
below) when compiling and also setting values in the mutable array
|
||||
that is set up by NSProcessInfo.
|
||||
/* Debug logging which can be enabled/disabled by defining GSDIAGNOSE
|
||||
when compiling and also setting values in the mutable array
|
||||
that is set up by NSProcessInfo. GSDIAGNOSE is defined autmatically unless
|
||||
diagnose=no is specified in the make arguments.
|
||||
|
||||
NSProcess initialises a set of strings that are the names of active
|
||||
debug levels using the '--GNU-Debug=...' command line argument.
|
||||
|
@ -143,7 +144,7 @@ GS_EXPORT NSString* GSDebugMethodMsg(id obj, SEL sel, const char *file,
|
|||
and either function or class/method in which the message was generated.
|
||||
|
||||
*/
|
||||
#ifdef GSWARN
|
||||
#ifdef GSDIAGNOSE
|
||||
#include <Foundation/NSObjCRuntime.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue