Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000082 | mercury | Bug | public | 2008-08-25 14:38 | 2008-08-27 14:05 |
Reporter | maclarty | ||||
---|---|---|---|---|---|
Assigned To | wangp | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000082: Functions returning a wrapped dummy type cause invalid c code to be generated in grade hlc.gc | ||||
Description | Compiling the attached code yields: $ mmc --make --grade hlc.gc main Making Mercury/int3s/main.int3 Making Mercury/int3s/mod1.int3 Making Mercury/ints/main.int Making Mercury/ints/mod1.int Making Mercury/cs/main.c Making Mercury/cs/mod1.c Making Mercury/os/main.o main.m: In function `main_2_p_0': main.m:14: error: void value not ignored as it ought to be ** Error making `Mercury/os/main.o'. $ mmc --version Mercury Compiler, version rotd-2008-08-20, configured for i686-pc-linux-gnu | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | main.m (186) 2008-08-25 14:38 https://bugs.mercurylang.org/file_download.php?file_id=64&type=bug mod1.m (192) 2008-08-25 14:39 https://bugs.mercurylang.org/file_download.php?file_id=65&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2008-08-25 14:38 | New Issue | ||||
2008-08-25 14:38 | File Added: main.m | ||||
2008-08-25 14:39 | File Added: mod1.m | ||||
2008-08-26 11:40 | wangp | Note Added: 0000142 | |||
2008-08-27 14:05 | wangp | Status | new => resolved | ||
2008-08-27 14:05 | wangp | Resolution | open => fixed | ||
2008-08-27 14:05 | wangp | Assigned To | => wangp | ||
2008-08-27 14:05 | wangp | Note Added: 0000143 |