[Click] Click element cyclic dependency

Eddie Kohler ekohler at gmail.com
Wed Nov 9 13:01:35 EST 2011


Sandeep,

I am surprised that compilation fails. I tested this type of dependency 
setup and it worked.  Which version of Click are you using and what 
error do you see?

Eddie


On 11/2/11 2:47 PM, sandeep wrote:
> I am building an element which uses multiple files. I am in a situation in
> which I have two files with the following syntax and compilation fails. My
> idea is to pass reference of the first object to the second one. Any
> suggestions please.
>
> File 1:
> ELEMENT_REQUIRES(Z)
> ELEMENT_PROVIDES(X)
> EXPORT_ELEMENT(Y)
>
> File 2:
> ELEMENT_REQUIRES(X)
> ELEMENT_PROVIDES(Z)
>
> Kind Regards,
> Sandeep,
> PhD Student,
> CTVR<http://ctvr.ie/>  - Trinity College Dublin
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list