Changeset 65264 in webkit
- Timestamp:
- Aug 12, 2010 1:28:18 PM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r65260 r65264 1 2010-08-12 Csaba Osztrogonác <ossy@webkit.org> 2 3 Reviewed by Antonio Gomes. 4 5 [Qt] Fix warnings: unknown conversion type character 'l' in format 6 https://bugs.webkit.org/show_bug.cgi?id=43359 7 8 Qt port doesn't call any printf in String::format(...), consequently 9 using __attribute__((format(printf,m,n))) is incorrect and causes 10 false positive warnings on Windows if you build with MinGW. 11 12 Qt port calls QString::vsprintf(...) , which is platform 13 independent, and handles %lli, %llu and %llx on all platforms. 14 (http://trac.webkit.org/changeset/35712) 15 16 * wtf/text/WTFString.h: 17 1 18 2010-08-12 Gabor Loki <loki@webkit.org> 2 19 -
trunk/JavaScriptCore/wtf/text/WTFString.h
r65032 r65264 202 202 static String number(unsigned long long); 203 203 static String number(double); 204 204 205 #if !PLATFORM(QT) 205 206 static String format(const char *, ...) WTF_ATTRIBUTE_PRINTF(1, 2); 207 #else 208 static String format(const char *, ...); 209 #endif 206 210 207 211 // Returns an uninitialized string. The characters needs to be written
Note: See TracChangeset
for help on using the changeset viewer.