[Bug 68379] GCC 3.3.1 TEMPLATE PROBLEMS

Thiago Macieira thiagom at mail.com
Sun Nov 16 16:07:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=68379     
thiagom at mail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From thiagom at mail.com  2003-11-16 16:06 -------
> This is not so much a KDE problem as it is a GCC problem

Why did you report it to KDE then?

Please note that you have a std::pair as the iterator's dereferencing. Aren't you forgetting to add .second ?

for (field_list_t::const_iterator i = p.second->fields.begin(); i != p.second->fields.end(); ++i) 
	os << (*i)->field_name().second << " ";

See: http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.3/structstd_1_1pair.html




More information about the KDevelop-devel mailing list