View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000486 | mercury | Bug | public | 2019-09-29 04:00 | 2019-09-29 14:06 | ||||
Reporter | juliensf | ||||||||
Assigned To | zs | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000486: Partially qualified types in foreign_enum pragmas not working with rotd-2019-09-28 | ||||||||
Description | extras/graphics/mercury_glut/glut.window.m contains the following type and foreign_enum declaration. :- type window.state ---> x ; y ; window_width .... :- pragma foreign_enum("C", window.state/0, [ x - "GLUT_WINDOW_X", y - "GLUT_WINDOW_Y", window_width - "GLUT_WINDOW_WIDTH" Building the short interface for glut.window now results in: glut.window.m:689: Error: `:- pragma foreign_enum' declaration for the glut.window.m:689: undeclared type `state'/0. (The error goes away if the type name in the foreign_enum pragma is fully qualified.) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|