RE: #pragma link C++ macro ...

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Mon, 28 Feb 2005 12:55:15 -0600


> The rootcint is used with the "-p" option ...

By definition the -p option is preprocessing the file __before__ passing them to CINT.
Hence you can not pass them on.

Also the correct synatx is

        #pragma link MACRO XXX;

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Jacek M. Holeczek
Sent: Monday, February 28, 2005 10:59 AM To: Roottalk
Subject: [ROOT] #pragma link C++ macro ...

Hi,
I've got some "macros" which I would like to "link" to root ...

	#define XXX xxx
	#define YYY yyy
but the following LinkDef lines :
	#pragma link C++ macro XXX;
	#pragma link C++ macro YYY;

have no effect ...
The rootcint is used with the "-p" option ... I tried to place these "#define" in the LinkDef file, still no effect ...

Any ideas?

Thanks in advance,
Best regards,
Jacek.

P.S. Sorry, if you get this mail for the fourth time, but I've sent it

     two days ago, then yesterday and then earlier today, but they all 
     seem to be lost. Now I've changed the "mail-server" ... Jacek.
Received on Mon Feb 28 2005 - 19:57:29 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET