summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-12 15:18:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-12 15:18:27 -0600
commit30e60192e820e0b123816fdb3be24880972b6e83 (patch)
tree5b249450b44d3cc9ee02dc5b5cde9433d4b7edaf /src
parent29e9d054581d9443b30eaf5eac33e80f8b890532 (diff)
downloadtqt3-30e60192e820e0b123816fdb3be24880972b6e83.tar.gz
tqt3-30e60192e820e0b123816fdb3be24880972b6e83.zip
Update tqt3 from qt3
Diffstat (limited to 'src')
-rw-r--r--src/tools/qcstring.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/qcstring.h b/src/tools/qcstring.h
index a396f64b3..96eb9f801 100644
--- a/src/tools/qcstring.h
+++ b/src/tools/qcstring.h
@@ -164,7 +164,11 @@ public:
TQCString copy() const;
- TQCString &sprintf( const char *format, ... );
+ TQCString &sprintf( const char *format, ... )
+#if defined(Q_CC_GNU) && !defined(__INSURE__)
+ __attribute__ ((format (printf, 2, 3)))
+#endif
+ ;
int find( char c, int index=0, bool cs=TRUE ) const;
int find( const char *str, int index=0, bool cs=TRUE ) const;