Re: Macro location lookup problem...

Radovan Chytracek (Radovan.Chytracek@cern.ch)
Wed, 11 Mar 1998 00:08:42 +0100 (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