freebsd & -frepo
Jay Sachs
sachs@bull.cs.williams.edu
Mon Oct 27 05:52:00 GMT 1997
Ok, I give. What's the magic incantation to get -frepo to work under
FreeBSD2.2? Any recent snapshot; the .rpo files are generated, but no
file gets recompiled and the link dies.
// y.cc
template <class T>
class C
{
public:
void foo();
};
template <class T>
void C<T>::foo()
{
}
int main()
{
C<int> c;
c.foo();
return 0;
}
compiled with
% g++ -frepo y.cc
% g++ y.o
gives an error to the effect of
undefined symbaol C<int>::foo(void)
-Jay
More information about the Gcc-bugs
mailing list