[tlbuild] Fwd: rebuild time

Peter Breitenlohner peb at mppmu.mpg.de
Thu Jun 17 11:33:58 CEST 2010


On Thu, 17 Jun 2010, Apostolos Syropoulos wrote:

> Well it does not compile on OpenSolaris:
>
> In file included from
> ../../../texk/dvisvgm/dvisvgm-1.0.1/src/CmdLineParserBase.cpp:26:
> ../../../texk/dvisvgm/dvisvgm-1.0.1/src/Message.h:58:47: error: macro
> "putchar" passed 2 arguments, but takes just 1
> In file included from
> ../../../texk/dvisvgm/dvisvgm-1.0.1/src/CmdLineParserBase.cpp:26:
> ../../../texk/dvisvgm/dvisvgm-1.0.1/src/Message.h:58: error: variable
> or field ?putchar? declared void

Hi Apostolos,

it seems the OpenSolaris headers declare putchar as macro.  This then
conflicts with the definition of the MessageStream::putchar() method.

I think, as a temporary fix you could replace
 	class Message;
in Message.h by
 	class Message;
 	#undef putchar

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tlbuild mailing list