Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000298 | mercury | Bug | public | 2013-09-16 15:41 | 2013-09-16 15:41 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000298: missing .mh include | ||||
Description | foo1.m calls the C function declared in a (non-local) foreign_decl in foo2.m. In the low-level C grades, foo1.c does not include foo2.mh. I think the manual suggests that it should: "By default, the contents of `pragma foreign_decl' declarations are also visible in the same kinds of declarations in other modules that import the module containing the `pragma foreign_decl' declaration." In the high-level C grades, foo1.c does include foo2.mih (mih). | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | foo1.m (656) 2013-09-16 15:41 https://bugs.mercurylang.org/file_download.php?file_id=180&type=bug foo2.m (556) 2013-09-16 15:41 https://bugs.mercurylang.org/file_download.php?file_id=181&type=bug |
There are no notes attached to this issue. |
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2013-09-16 15:41 | wangp | New Issue | |||
2013-09-16 15:41 | wangp | File Added: foo1.m | |||
2013-09-16 15:41 | wangp | File Added: foo2.m |