Changeset 34598 in webkit for trunk/JavaScriptCore/wtf/Assertions.h
- Timestamp:
- Jun 16, 2008, 6:39:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Assertions.h
r27947 r34598 1 /* -*- mode: c ++; c-basic-offset: 4 -*- */1 /* -*- mode: c; c-basic-offset: 4 -*- */ 2 2 /* 3 3 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. … … 84 84 #endif 85 85 86 / /WTF logging functions can process %@ in the format string to log a NSObject* but the printf format attribute87 //emits a warning when %@ is used in the format string. Until <rdar://problem/5195437> is resolved we can't include88 // the attribute when being used from Objective-C code in case it decides to use %@. 86 /* WTF logging functions can process %@ in the format string to log a NSObject* but the printf format attribute 87 emits a warning when %@ is used in the format string. Until <rdar://problem/5195437> is resolved we can't include 88 the attribute when being used from Objective-C code in case it decides to use %@. */ 89 89 #if COMPILER(GCC) && !defined(__OBJC__) 90 90 #define WTF_ATTRIBUTE_PRINTF(formatStringArgument, extraArguments) __attribute__((__format__(printf, formatStringArgument, extraArguments))) … … 155 155 } \ 156 156 while (0) 157 #endif / / COMPILER(MSVC7)157 #endif /* COMPILER(MSVC7) */ 158 158 #define ASSERT_NOT_REACHED() do { \ 159 159 WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, 0); \ … … 230 230 #endif 231 231 232 #endif / / WTF_Assertions_h232 #endif /* WTF_Assertions_h */
Note:
See TracChangeset
for help on using the changeset viewer.