[PD-dev] g_canvas.h / C++

guenter geiger geiger at xdv.org
Sun Dec 15 17:05:07 CET 2002



> Hi all,
> it would be great if g_canvas.h would be c++ compilable.
> The problem is that the reserved c++ word "template" is used as a function
> parameter a couple of times.
>
> Am i allowed to change the cvs version or what is the common procedure of
> that?

If it is really a bug and as simple to
change as that, you might do both, send a patch to Miller and change it
in the CVS. For more complex surgery it is better to put it in CVS first
and let it settle a bit.

BTW, it is a bit strange that "template" is still a reserved keyword,
although it is in the "extern "C" {}" section, no ?

Anyhow, hope that explained it.

Greetings,
Guenter





More information about the Pd-dev mailing list