Skip to content

Commit 0913e06

Browse files
committed
Reenable deprecation warnings
1 parent 81a665f commit 0913e06

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Classes/PBMacros.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88

99
#import <Cocoa/Cocoa.h>
1010

11-
#if (GITX_NO_DEPRECATE || DEBUG)
12-
#define GITX_DEPRECATED
13-
#else
1411
#define GITX_DEPRECATED __attribute__ ((deprecated))
15-
#endif
12+
#define GITX_DEPRECATED_MSG(x) __attribute__ ((deprecated(x)))
1613

1714
#define PBLogFunction(x, ...) PBLogFunctionImpl(__FUNCTION__, x, ## __VA_ARGS__)
1815
#define PBLogError(x) PBLogErrorImpl(__FUNCTION__, x)

0 commit comments

Comments
 (0)