recompiling

From: Mark Wallace <mgw_at_icparc.ic.ac.uk>
Date: Wed 13 Feb 2002 10:50:11 AM GMT
Message-ID: <3C6A44E3.88200A9F@icparc.ic.ac.uk>
Hi,
 I rewrote Micha's bins example (from the fd library), and tried using
macros:
tr_col(red, 3).
tr_col(green, 2).
tr_col(blue, 1).

:- local macro(no_macro_expansion(blue)/0, tr_col/2, []).
:- local macro(no_macro_expansion(green)/0, tr_col/2, []).
:- local macro(no_macro_expansion(red)/0, tr_col/2, []).
It worked fine when I started eclipse and compiled the program, 
but when I recompiled using 'make' the program gave me an error
type error in blue - blue #>= 0
Abort
(for the test I simply edited the file by adding a blank space).

Should macros conflict with make?

	Cheers
		Mark
-- 
_______________________________________________________________
Dr. Mark Wallace, IC-Parc,		Phone  +44 (0)20 7594 8434 
William Penney Laboratory, 		Fax    +44 (0)20 7594 8432
Imperial College, London SW7 2AZ, UK.	Email: mgw@icparc.ic.ac.uk



Received on Wed Feb 13 10:50:13 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:13 PM GMT GMT