On Thu, 13 Feb 2003 16:26:43 -0800
 "Dave Viner" <[EMAIL PROTECTED]> wrote:
I'm trying to compile a pretty simple C++ library using STL and APR.
However, just including the header files, I get this compilation error:


..\..\..\..\..\..\apr\apr\include\apr_allocator.h(103) : error C2955:
'allocator' : use of class template requires template argument list
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(72) :
see declaration of 'allocator'


Has anyone else seen this or know how to fix it?

If you're using "using std;", remove it. If you're not, or that doesn't help, you'll need to rename all the of prototype parameters to not match the name of a prototyped class. This is a rather annoying bug (IMHO) in MSVC that bites us all the time.

Reply via email to