[cairo] "operator" keyword in libcairo

Ned Konz ned at squeakland.org
Tue Dec 28 17:06:54 PST 2004


On Tuesday 28 December 2004 2:14 pm, Chris wrote:
> I noticed that in libcairo there are tons of variables named "operator."
>
> Operator is a keyword in the Microsoft compiler and causes a lot of pain
> when trying to compile over there.  I'm going to rename them to "op" or
> something and see how it goes from there.

It shouldn't be a keyword in a C compiler (though of course it is in C++), 
should it? Do they also reserve new, delete, etc.?

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the cairo mailing list