SFS Compilation Error
Marian MIHAILESCU <[email protected]> Tue, 15 Mar 2005 17:08:23 +0800 (GMT-8)
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I tried to compile SFS v. 0.7.2 on my system: * OS: Fedora Core 3 * gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) I have attached a log with the errors I get. Thank you. Marian M.
error.log
(text/plain, 8.5 KB)
In file included from suio++.h:29,
from str.h:29,
from err.h:28,
from amisc.h:29,
from async.h:28,
from aerr.C:25:
vec.h: In member function `void vec<T, N>::move(typename vec_base<T, N>::elm_t*)':
vec.h:77: error: `firstp' undeclared (first use this function)
vec.h:77: error: (Each undeclared identifier is reported only once for each function it appears in.)
vec.h:79: error: `lastp' undeclared (first use this function)
vec.h:80: error: `basep' undeclared (first use this function)
vec.h: In member function `void vec<T, N>::init()':
vec.h:95: error: `lastp' undeclared (first use this function)
vec.h:95: error: `firstp' undeclared (first use this function)
vec.h:95: error: `basep' undeclared (first use this function)
vec.h:95: error: there are no arguments to `def_basep' that depend on a template parameter, so a declaration of `def_basep' must be available
vec.h:95: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
vec.h:95: error: `limp' undeclared (first use this function)
vec.h:95: error: there are no arguments to `def_limp' that depend on a template parameter, so a declaration of `def_limp' must be available
vec.h: In member function `void vec<T, N>::del()':
vec.h:96: error: `firstp' undeclared (first use this function)
vec.h:96: error: `lastp' undeclared (first use this function)
vec.h:96: error: `basep' undeclared (first use this function)
vec.h:96: error: there are no arguments to `bfree' that depend on a template parameter, so a declaration of `bfree' must be available
vec.h: In copy constructor `vec<T, N>::vec(const vec<T, N>&)':
vec.h:117: error: `lastp' undeclared (first use this function)
vec.h: In constructor `vec<T, N>::vec(const vec<T, NN>&)':
vec.h:118: error: `lastp' undeclared (first use this function)
vec.h: In member function `vec<T, N>& vec<T, N>::operator=(const vec<T, N>&)':
vec.h:123: error: `lastp' undeclared (first use this function)
vec.h: In member function `vec<T, N>& vec<T, N>::operator=(const vec<T, NN>&)':
vec.h:125: error: `lastp' undeclared (first use this function)
vec.h: In member function `void vec<T, N>::reserve(size_t)':
vec.h:128: error: `lastp' undeclared (first use this function)
vec.h:128: error: `limp' undeclared (first use this function)
vec.h:130: error: `basep' undeclared (first use this function)
vec.h:131: error: `firstp' undeclared (first use this function)
vec.h: In member function `void vec<T, N>::setsize(size_t)':
vec.h:148: error: `lastp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t* vec<T, N>::base()':
vec.h:155: error: `firstp' undeclared (first use this function)
vec.h: In member function `const typename vec_base<T, N>::elm_t* vec<T, N>::base() const':
vec.h:156: error: `firstp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t* vec<T, N>::lim()':
vec.h:157: error: `lastp' undeclared (first use this function)
vec.h: In member function `const typename vec_base<T, N>::elm_t* vec<T, N>::lim() const':
vec.h:158: error: `lastp' undeclared (first use this function)
vec.h: In member function `size_t vec<T, N>::size() const':
vec.h:159: error: `lastp' undeclared (first use this function)
vec.h:159: error: `firstp' undeclared (first use this function)
vec.h: In member function `bool vec<T, N>::empty() const':
vec.h:160: error: `lastp' undeclared (first use this function)
vec.h:160: error: `firstp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t& vec<T, N>::front()':
vec.h:162: error: `firstp' undeclared (first use this function)
vec.h: In member function `const typename vec_base<T, N>::elm_t& vec<T, N>::front() const':
vec.h:163: error: `firstp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t& vec<T, N>::back()':
vec.h:164: error: `lastp' undeclared (first use this function)
vec.h: In member function `const typename vec_base<T, N>::elm_t& vec<T, N>::back() const':
vec.h:165: error: `lastp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t& vec<T, N>::operator[](ptrdiff_t)':
vec.h:167: error: `firstp' undeclared (first use this function)
vec.h: In member function `const typename vec_base<T, N>::elm_t& vec<T, N>::operator[](ptrdiff_t) const':
vec.h:168: error: `firstp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t& vec<T, N>::push_back()':
vec.h:170: error: `lastp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t& vec<T, N>::push_back(const typename vec_base<T, N>::elm_t&)':
vec.h:172: error: `lastp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t vec<T, N>::pop_back()':
vec.h:174: error: `lastp' undeclared (first use this function)
vec.h:174: error: no matching function for call to `destroy_return(<type error>)'
vec.h: In member function `void vec<T, N>::popn_back(size_t)':
vec.h:177: error: `lastp' undeclared (first use this function)
vec.h: In member function `typename vec_base<T, N>::elm_t vec<T, N>::pop_front()':
vec.h:183: error: `firstp' undeclared (first use this function)
vec.h:183: error: no matching function for call to `destroy_return(<type error>)'
vec.h: In member function `void vec<T, N>::popn_front(size_t)':
vec.h:186: error: `firstp' undeclared (first use this function)
In file included from callback.h:495,
from suio++.h:30,
from str.h:29,
from err.h:28,
from amisc.h:29,
from async.h:28,
from aerr.C:25:
refcnt.h: In constructor `ref<T>::ref(T*, refcount*)':
refcnt.h:412: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ref<T>::ref(refcounted<U, v>*)':
refcnt.h:423: error: `p' undeclared (first use this function)
refcnt.h: In copy constructor `ref<T>::ref(const ref<T>&)':
refcnt.h:427: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ref<T>::ref(const ref<U>&)':
refcnt.h:430: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ref<T>::ref(const ptr<U>&)':
refcnt.h:433: error: `p' undeclared (first use this function)
refcnt.h: In member function `ref<T>& ref<T>::operator=(refcounted<U, v>*)':
refcnt.h:438: error: `p' undeclared (first use this function)
refcnt.h: In member function `ref<T>& ref<T>::operator=(const ref<T>&)':
refcnt.h:443: error: `p' undeclared (first use this function)
refcnt.h: In member function `ref<T>& ref<T>::operator=(const ref<U>&)':
refcnt.h:445: error: `p' undeclared (first use this function)
refcnt.h: In member function `ref<T>& ref<T>::operator=(const ptr<U>&)':
refcnt.h:448: error: `p' undeclared (first use this function)
refcnt.h: In member function `void ptr<T>::set(refcounted<U, v>*, bool)':
refcnt.h:467: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ptr<T>::ptr()':
refcnt.h:483: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ptr<T>::ptr(refpriv::privtype*)':
refcnt.h:484: error: `p' undeclared (first use this function)
refcnt.h: In copy constructor `ptr<T>::ptr(const ptr<T>&)':
refcnt.h:487: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ptr<T>::ptr(const ptr<U>&)':
refcnt.h:490: error: `p' undeclared (first use this function)
refcnt.h: In constructor `ptr<T>::ptr(const ref<U>&)':
refcnt.h:493: error: `p' undeclared (first use this function)
refcnt.h: In member function `ptr<T>& ptr<T>::operator=(refpriv::privtype*)':
refcnt.h:498: error: `p' undeclared (first use this function)
refcnt.h: In member function `ptr<T>& ptr<T>::operator=(const ptr<T>&)':
refcnt.h:503: error: `p' undeclared (first use this function)
refcnt.h: In member function `ptr<T>& ptr<T>::operator=(const ptr<U>&)':
refcnt.h:505: error: `p' undeclared (first use this function)
refcnt.h: In member function `ptr<T>& ptr<T>::operator=(const ref<U>&)':
refcnt.h:507: error: `p' undeclared (first use this function)
refcnt.h: In destructor `bssptr<T>::~bssptr()':
refcnt.h:515: error: there are no arguments to `Xleak' that depend on a template parameter, so a declaration of `Xleak' must be available
aerr.C: At global scope:
aerr.C:136: warning: attributes after parenthesized initializer ignored
make[2]: *** [aerr.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2