Summary: | GCC 3.3.1 TEMPLATE PROBLEMS | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | dragon |
Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.0b1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
dragon
2003-11-16 15:56:28 UTC
> 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 |