diff options
author | Francois Andriot <[email protected]> | 2012-04-28 12:45:33 +0200 |
---|---|---|
committer | Francois Andriot <[email protected]> | 2012-04-28 12:45:33 +0200 |
commit | bd0db9f63504d679c55f4b2700d45a809530c7d7 (patch) | |
tree | a0fd824ea751b7a6da13a170d754da7b4e2e3d63 /redhat/kdevelop/kdevelop-3.5.13-gcc47.patch | |
parent | a1ed0f8df1f57a436617c83e0d17a010033fd172 (diff) | |
download | tde-packaging-bd0db9f63504d679c55f4b2700d45a809530c7d7.tar.gz tde-packaging-bd0db9f63504d679c55f4b2700d45a809530c7d7.zip |
RHEL/Fedora: updates kdevelop for GCC 4.7
Diffstat (limited to 'redhat/kdevelop/kdevelop-3.5.13-gcc47.patch')
-rw-r--r-- | redhat/kdevelop/kdevelop-3.5.13-gcc47.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/redhat/kdevelop/kdevelop-3.5.13-gcc47.patch b/redhat/kdevelop/kdevelop-3.5.13-gcc47.patch new file mode 100644 index 000000000..6d5814210 --- /dev/null +++ b/redhat/kdevelop/kdevelop-3.5.13-gcc47.patch @@ -0,0 +1,22 @@ +--- kdevelop/languages/cpp/cppcodecompletion.cpp.gcc47 2011-08-13 07:59:50.000000000 +0200 ++++ kdevelop/languages/cpp/cppcodecompletion.cpp 2012-04-26 20:33:55.645135959 +0200 +@@ -3892,15 +3892,15 @@ + ArgumentList fArgs = ( *it ) ->argumentList(); + if ( fArgs.count() != args.count() ) + continue; +- ArgumentList::iterator it = args.begin(); ++ ArgumentList::iterator it3 = args.begin(); + ArgumentList::iterator it2 = fArgs.begin(); + bool hit = true; +- while ( it != args.end() ) { +- if ( ( *it ) ->type() != ( *it2 ) ->type() ) { ++ while ( it3 != args.end() ) { ++ if ( ( *it3 ) ->type() != ( *it2 ) ->type() ) { + hit = false; + break; + } +- ++it; ++ ++it3; + ++it2; + } + if ( hit ) { |