Summary: | www-client/seamonkey-2.0.13 will not compile with gcc-4.6.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Billy DeVincentis <billydv1> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mozilla |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346809 | ||
Attachments: |
build.log
seamonkey-2.0.14-gcc46.patch |
Description
Billy DeVincentis
2011-04-21 01:23:47 UTC
Created attachment 270729 [details]
build.log
*** Bug 365275 has been marked as a duplicate of this bug. *** Look, I have successfully emerged www-client/seamonkey-2.1_beta3-r2 from the mozilla overlay with use -crypt (there is something wrong with the patches as they fail). Why not add it to the tree masked just like the alpha version of thunderbird. At least gcc-4.6 users will have an option with an emergable seamonkey. seamonkey-2.1* is not ready for the main tree yet. Created attachment 276875 [details, diff]
seamonkey-2.0.14-gcc46.patch
I really don't know why the default constructors aren't sufficient. Is it maybe because default constructors aren't supplied for derived classes? Here I thought I was good at C++. Whatever, it compiles. Oh, and one file was missing <cstddef> for offsetof().
For those interested, the following also triggers the error: class alpha {}; const alpha beta; I guess it makes sense since 'beta' is const and has no other method of being initialized. It doesn't make sense if 'alpha' has no members to initialize, which is the case here. And anyway, if I want to make an object that cannot be initialized, maybe that should be my business. This is a bug in the C++ standard if you ask me. Thanks for the patch Markus but meanwhile >=seamonkey-2.1 entered the tree so this bug can be considered as fixed. |