summaryrefslogtreecommitdiffstats
path: root/bin/syncqt
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-14 09:53:07 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-14 10:49:26 (GMT)
commitb7f55ac9c1c6b87083c9dca3b5cbca211fdecaef (patch)
treeaf32dafb3e9bd9451c5800ce2e93ef6cd629eeae /bin/syncqt
parentbad44806fd543b91777b69d9afb0e1dd4910b15a (diff)
downloadQt-b7f55ac9c1c6b87083c9dca3b5cbca211fdecaef.zip
Qt-b7f55ac9c1c6b87083c9dca3b5cbca211fdecaef.tar.gz
Qt-b7f55ac9c1c6b87083c9dca3b5cbca211fdecaef.tar.bz2
fix warning directive on gnuc
Diffstat (limited to 'bin/syncqt')
-rwxr-xr-xbin/syncqt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 11b1d72..c8cba30 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -843,7 +843,7 @@ foreach (@modules_to_sync) {
my $warning_msg = 'Inclusion of header files from include/Qt is deprecated.';
$header_content = "#ifndef QT_NO_QT_INCLUDE_WARN\n" .
" #if defined(__GNUC__)\n" .
- " #pragma warning \"$warning_msg\"\n" .
+ " #warning \"$warning_msg\"\n" .
" #elif defined(_MSC_VER)\n" .
" #pragma message \"WARNING: $warning_msg\"\n" .
" #endif\n".