Etch/C compiler generates incorrect include directives for mixins
-----------------------------------------------------------------

                 Key: ETCH-190
                 URL: https://issues.apache.org/jira/browse/ETCH-190
             Project: Etch
          Issue Type: Bug
          Components: c-binding, compiler
         Environment: Error should occur on all environments.
            Reporter: Thomas Marsh
            Priority: Minor


Given the following service definition:

File: Test1.etch

module com.foo
service Test1 {
}


File: Test2.etch

module com.foo
service Test2 {
  mixin com.foo.Test1
}

The files will all be generated as test1_*.[ch] and test2_*.[ch]. However, from 
the mixin directive, several files will include interface and valuefact header 
files using a fully qualified module path:

#include "com.foo.test1_interface.h" // fails for file which does not exist

The files affected in this example are: test2_client.c, test2_interface.h, 
test2_server.c, and test2_valufact.c.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to