freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error in vector declaration?


From: Werner LEMBERG
Subject: Re: error in vector declaration?
Date: Tue, 04 Jul 2000 06:58:23 +0200 (CEST)

> c:\work\cvshome\uiproto\free2\freetype2-current\include\freetype\freetype.h(
> 2190) : error C2955: 'vector' : use of class template requires template
> argument list
> 
> c:\program files\microsoft visual studio\vc98\include\vector(244) : see
> declaration of 'vector'
> 
> They refer to this line in freetype.h
> 
>   FT_EXPORT_DEF(void)  FT_Vector_Transform( FT_Vector*  vector, FT_Matrix*
> matrix );

AFAIK, `vector' isn't a reserved keyword in C++.

Two possibilities:

  . MS VC++ violates the C++ standard by introducing a new reserved
    C++ keyword which doesn't start with `_' -- maybe you can turn
    this option off.  We know a similar problem caused by `interface',
    so this possibility is not too weird...

  . Some namespace mangling has occurred between C++ classes and
    FreeType.

My knowledge of C++ is poor, so maybe I'm totally wrong.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]