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
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:13 PM GMT GMT