mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-01 20:40:53 +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
5459cc0f28
commit
231730802f
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>
|
2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
|
* 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
|
/* Debug logging which can be enabled/disabled by defining GSDIAGNOSE
|
||||||
below) when compiling and also setting values in the mutable array
|
when compiling and also setting values in the mutable array
|
||||||
that is set up by NSProcessInfo.
|
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
|
NSProcess initialises a set of strings that are the names of active
|
||||||
debug levels using the '--GNU-Debug=...' command line argument.
|
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.
|
and either function or class/method in which the message was generated.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#ifdef GSWARN
|
#ifdef GSDIAGNOSE
|
||||||
#include <Foundation/NSObjCRuntime.h>
|
#include <Foundation/NSObjCRuntime.h>
|
||||||
#include <Foundation/NSProcessInfo.h>
|
#include <Foundation/NSProcessInfo.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue