Re: Macro location lookup problem...

From: Radovan Chytracek (Radovan.Chytracek@cern.ch)
Date: Wed Mar 11 1998 - 00:08:42 MET


Hello,

        I again have to apologise, problem solved again.
I tried to invoke the macro but no arguments were given to the macro.
When I added default values for the arguments everything is ok.

Before: 

int ctmac(char *host, int port)
{
...
}

After:

int ctmac(char *host = "localhost", int port = 2222)
{
...
}

Probably I have to go to sleep to avoid any stupid mistakes :-)).

Regards

		Radovan



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET