This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: macro, duplicate definition warning


Rob,

> I'm having a problem defining a syntax-rules macro.  I tried 
> to boil it down to essentials in the the 3 files below.  
> Basically a macro expands to an expression containing a call 
> to a utility function, and requiring and using that macro 
> from a file that also requires those same utility 
> functions...  leads to a "duplicate definition for 
> 'get-request-param'" 
> warning.  (get-request-param is the utility function).   This is 
> actually an error for us, because we are using --warn-as-error.

Have you tried not  'requiring' <request> in <use>?

Also, why don't you put the 'define-web-func' macro in <request>? This way,
you will only need to require a single module in <use>.

Hope this helps!

Dominique

The SchemeWay Project
http://schemeway.sourceforge.net



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]