2024-11-23 19:10 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000298mercuryBugpublic2013-09-16 15:41
Reporterwangp 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0000298: missing .mh include
Descriptionfoo1.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).
TagsNo tags attached.
Attached Files
  • ? file icon foo1.m (656 bytes) 2013-09-16 15:41
  • ? file icon foo2.m (556 bytes) 2013-09-16 15:41

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-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
+Issue History