| Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0000102 | mercury | Bug | public | 2009-07-28 13:23 | 2009-12-17 00:52 | 
| Reporter | user185 | ||||
|---|---|---|---|---|---|
| Assigned To | juliensf | ||||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0000102: Inconsistent behaviour (error vs. warning) when compiling with --make | ||||
| Description | The attached source file contains a simple "hello world" application. It specifies a module "mprojects" which is different from the name of the source file "mproject". The following behaviour results when compiling directly: 13:17 dharabor@armitage build>mmc mproject.m mproject.m:001: Warning: source file `mproject.m' contains module named mproject.m:001: `mprojects'. However, compiling with "mmc --make": 13:20 dharabor@armitage build>mmc --make mproject Making Mercury/cs/mproject.c Error: file `mproject.m' contains the wrong module. Expected module `mproject', found module `mprojects'. mproject.m:001: Warning: source file `mproject.m' contains module named mproject.m:001: `mprojects'. ** Error making `Mercury/cs/mproject.c'. Which is correct? Is this an error or a warning? | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files |  mproject.m (181) 2009-07-28 13:23 https://bugs.mercurylang.org/file_download.php?file_id=78&type=bug | ||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||
|  | |||||
| 
 | 
 | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2009-07-28 13:23 | New Issue | ||||
| 2009-07-28 13:23 | File Added: mproject.m | ||||
| 2009-09-22 02:19 | juliensf | Note Added: 0000186 | |||
| 2009-09-22 02:19 | juliensf | Status | new => feedback | ||
| 2009-12-17 00:52 | juliensf | Note Added: 0000236 | |||
| 2009-12-17 00:52 | juliensf | Status | feedback => resolved | ||
| 2009-12-17 00:52 | juliensf | Resolution | open => fixed | ||
| 2009-12-17 00:52 | juliensf | Assigned To | => juliensf | ||