[Bug c++/24511] [4.0/4.1 Regression] explicit instantiation/extern template unsats on symbols defined later
--- Comment #4 from jason at gcc dot gnu dot org 2005-10-28 21:19 --- I do disagree with your reasoning on the other bug. This DR clarifies 14.7.2: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#470 If indeed all other compilers accept this code, then perhaps the DR is not what we want, but you should bring that up with Core. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|SUSPENDED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24511
[Bug c++/24511] [4.0/4.1 Regression] explicit instantiation/extern template unsats on symbols defined later
--- Comment #3 from sebor at roguewave dot com 2005-10-28 20:34 --- Jason, I respectfully disagree. In bug 22263 I explained why I believe gcc is wrong. Do you see a problem with my reasoning there? If not, you must surely agree that this is just another example of the same bug. -- sebor at roguewave dot com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24511
[Bug c++/24511] [4.0/4.1 Regression] explicit instantiation/extern template unsats on symbols defined later
--- Comment #2 from jason at gcc dot gnu dot org 2005-10-28 20:25 --- This is not a bug. All member templates must be defined before an explicit instantiation of the class. The existing standard requires an error on this case, but a future DR will change the standard to match the g++ behavior. It's desirable to not require all member templates to be defined in the case of private copy constructors declared only to prevent copying the class. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24511
[Bug c++/24511] [4.0/4.1 Regression] explicit instantiation/extern template unsats on symbols defined later
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-25 01:00 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|sparc-sun-solaris2.9| GCC host triplet|sparc-sun-solaris2.9| GCC target triplet|sparc-sun-solaris2.9| Keywords||link-failure Last reconfirmed|-00-00 00:00:00 |2005-10-25 01:00:51 date|| Summary|explicit|[4.0/4.1 Regression] |instantiation/extern|explicit |template unsats on symbols |instantiation/extern |defined later |template unsats on symbols ||defined later Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24511