acidpad
08-23-2004, 12:54 PM
i get a compiler error when i run make
point.h: In member function `QRect Point3DArray<_T>::boundingRect() const':
point.h:340: error: there are no arguments to `isEmpty' that depend on a templat
e parameter, so a declaration of `isEmpty' must be available
point.h:340: error: (if you use `-fpermissive', G++ will accept your code, but a
llowing the use of an undeclared name is deprecated)
point.h:343: error: there are no arguments to `data' that depend on a template p
arameter, so a declaration of `data' must be available
point.h:351: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h: In member function `bool Point3DArray<_T>::setPoints(uint32_t, const _T
*)':
point.h:397: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `bool Point3DArray<_T>::setPoints(uint32_t, _T, _T,
_T, ...)':
point.h:412: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `bool Point3DArray<_T>::putPoints(uint32_t, uint32_t
, const _T*)':
point.h:442: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:443: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `bool Point3DArray<_T>::putPoints(uint32_t, uint32_t
, _T, _T, _T, ...)':
point.h:458: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:459: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `QPointArray Point3DArray<_T>::getQPointArray()':
point.h:490: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:493: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:494: error: invalid use of undefined type `struct QPointArray'
i am running suse 9.1, i remember fixing this problem before, but i dont remember how. i remember that it was a missing header file from point.h, a standard c one, but im having a brain fart and i cant remember nor can i find it anywhere, so if someone could point me in the right direction, it would be appreciated. Thanks.
point.h: In member function `QRect Point3DArray<_T>::boundingRect() const':
point.h:340: error: there are no arguments to `isEmpty' that depend on a templat
e parameter, so a declaration of `isEmpty' must be available
point.h:340: error: (if you use `-fpermissive', G++ will accept your code, but a
llowing the use of an undeclared name is deprecated)
point.h:343: error: there are no arguments to `data' that depend on a template p
arameter, so a declaration of `data' must be available
point.h:351: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h: In member function `bool Point3DArray<_T>::setPoints(uint32_t, const _T
*)':
point.h:397: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `bool Point3DArray<_T>::setPoints(uint32_t, _T, _T,
_T, ...)':
point.h:412: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `bool Point3DArray<_T>::putPoints(uint32_t, uint32_t
, const _T*)':
point.h:442: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:443: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `bool Point3DArray<_T>::putPoints(uint32_t, uint32_t
, _T, _T, _T, ...)':
point.h:458: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:459: error: there are no arguments to `resize' that depend on a template
parameter, so a declaration of `resize' must be available
point.h: In member function `QPointArray Point3DArray<_T>::getQPointArray()':
point.h:490: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:493: error: there are no arguments to `size' that depend on a template p
arameter, so a declaration of `size' must be available
point.h:494: error: invalid use of undefined type `struct QPointArray'
i am running suse 9.1, i remember fixing this problem before, but i dont remember how. i remember that it was a missing header file from point.h, a standard c one, but im having a brain fart and i cant remember nor can i find it anywhere, so if someone could point me in the right direction, it would be appreciated. Thanks.