Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000380 | mercury | Bug | public | 2015-02-25 15:55 | 2015-02-28 14:18 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000380: mercury_string.h not always included in high-level C grades | ||||
Description | mercury_string.h is not always included by the generated C file unless the module imports the string module, but the compiler may generate references to macros defined in that file. The easiest fix would be to include mercury_string.h in mercury.h % mmc -s hlc.gc -c words words.m: In function ‘words__word_1_p_0’: words.m:12:7: warning: implicit declaration of function ‘MR_nth_code_unit’ [-Wimplicit-function-declaration] word("aback"). ^ words.m:12:17: warning: implicit declaration of function ‘MR_offset_streq’ [-Wimplicit-function-declaration] word("aback"). | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | words.m (603) 2015-02-25 15:55 https://bugs.mercurylang.org/file_download.php?file_id=237&type=bug |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2015-02-25 15:55 | wangp | New Issue | |||
2015-02-25 15:55 | wangp | File Added: words.m | |||
2015-02-27 14:14 | zs | Assigned To | => zs | ||
2015-02-27 14:14 | zs | Status | new => assigned | ||
2015-02-28 14:18 | zs | Note Added: 0000816 | |||
2015-02-28 14:18 | zs | Status | assigned => resolved | ||
2015-02-28 14:18 | zs | Resolution | open => fixed |