--- Comment #6 from pinskia at gcc dot gnu dot org 2005-12-03 03:11 ---
I think you need to read
http://gcc.gnu.org/gcc-4.1/changes.html
It lists some of these issues.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25238
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-03 03:10 ---
(In reply to comment #4)
> Created an attachment (id=10395)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10395&action=view) [edit]
> gzipped preprocessed file for _cdsVector.cc from gcc 4.1.0
That is a differ
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2005-12-03
02:53 ---
Created an attachment (id=10395)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10395&action=view)
gzipped preprocessed file for _cdsVector.cc from gcc 4.1.0
--
http://gcc.gnu.org/bugzilla/show_bu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2005-12-03
02:50 ---
Andrew,
Thanks. For now the -ffriend-injection solves the problem. However,
there is one other compile issue with g++ 4.1.0 which the -ffriend-injection
doesn't fix (and I assumed was the same issue
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-03 02:03 ---
This is not a bug, it comes down to something like:
class a
{
friend void f(void);
};
int main(void)
{
f();
}
void f(void) {}
Friends don't inject into the scope at all.
In enumNameMap.hh, we have:
class
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2005-12-03
01:57 ---
Created an attachment (id=10394)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10394&action=view)
preprocessed file for posRMSDPot.cc from gcc 4.1.0
Target: powerpc-apple-darwin8
Configured with: ../