ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/devel/qt4-qtestlib/files/patch-0185-fix-format-strings.diff
Revision: 6571
Committed: Fri Oct 10 18:01:20 2008 UTC (15 years, 7 months ago) by laffer1
File size: 506 byte(s)
Log Message:
add qtestlib

File Contents

# Content
1 --- src/testlib/qtest_global.h
2 +++ src/testlib/qtest_global.h
3 @@ -59,7 +59,11 @@ namespace QTest
4 enum SkipMode { SkipSingle = 1, SkipAll = 2 };
5 enum TestFailMode { Abort = 1, Continue = 2 };
6
7 - int Q_TESTLIB_EXPORT qt_snprintf(char *str, int size, const char *format, ...);
8 + int Q_TESTLIB_EXPORT qt_snprintf(char *str, int size, const char *format, ...)
9 +#if defined(Q_CC_GNU) && !defined(__INSURE__)
10 + __attribute__ ((format (printf, 3, 4)))
11 +#endif
12 + ;
13 }
14
15 QT_END_HEADER

Properties

Name Value
cvs2svn:cvs-rev 1.1