| Summary: | simgear-0.3.4 fails to compile with gcc-3.4.x | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | iago <iagofrombrad> |
| Component: | Current packages | Assignee: | Seemant Kulleen (RETIRED) <seemant> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | axa1981, toolchain |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
A little patch to solve the above errors.
Other errors raised after patching simgear-0.3.4 |
||
|
Description
iago
2004-09-30 09:06:26 UTC
const bool SGRawValue<bool>::DefaultValue = false; const int SGRawValue<int>::DefaultValue = 0; const long SGRawValue<long>::DefaultValue = 0L; const float SGRawValue<float>::DefaultValue = 0.0; const double SGRawValue<double>::DefaultValue = 0.0L; const char * const SGRawValue<const char *>::DefaultValue = ""; these are the lines of code those produce the errors above. I don't know enough C++ to tell what is wrong with DefaultValue. If someone knows, the solution is obvious. Created attachment 40890 [details, diff]
A little patch to solve the above errors.
This patch solves the bugs above. But It means only to raise other errors. So I
think a better solution is to use simgear-0.3.5 instead of 0.3. 4. I think this
is related to a change in the compiler version used.
Created attachment 40891 [details]
Other errors raised after patching simgear-0.3.4
These are other errors those appear after I patch simgear.
These aren't related to the previous bug, except for a thing. I think the
compiler used is the real issue, and that simgear-0.3.4 isn't compatible with
gcc-3.4.1, which is used under ppc arch. The next version, simgear-0.3.5,
compiles without errors on ppc.
simgear-0.3.5 and 0.3.6 are in portatge (along with the flightgear versions that depend on those). please test and report in bug #67809 *** This bug has been marked as a duplicate of 67809 *** |