| Summary: | Unable to build with gcc 3.3.1 | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Chris Thompson <chris> |
| Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Mandrake RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to convert C++-style casts to C-style casts | ||
|
Description
Chris Thompson
2003-11-01 22:35:34 UTC
Created attachment 2971 [details]
Patch to convert C++-style casts to C-style casts
This allows the code to compile under gcc 3.3.1.
I haven't looked at the code yet, but reinterpret_cast is probably preferable (if really needed) as it can be much easier grepped for later. I agree that reinterpret_cast would generally be better but it does not work (compiler error) in this case. I am not at all convinced that you can cast templates this way. I don't have any documentation to back this up at this time, though, so I could easily be wrong. compilation has been fixed in CVS. |