Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000012 | mercury | Bug | public | 2007-10-03 14:15 | 2007-10-05 13:31 |
| Reporter | petdr | ||||
|---|---|---|---|---|---|
| Assigned To | |||||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0000012: ./configure doesn't correctly identify that my compiler is not recent enough | ||||
| Description | With todays compiler (2007-10-03) and using the rotd 2007-09-08 I got the following error: ../scripts/mgnuc --grade asm_fast.gc.decldebug -- -c tree234.c -o tree234.o tree234.c:67542: warning: initialisation makes pointer from integer without a cast tree234.c:67543: warning: initialisation makes integer from pointer without a cast tree234.c:67544: warning: initialisation makes pointer from integer without a cast tree234.c:67545: warning: initialisation makes integer from pointer without a cast tree234.c:67546: warning: initialisation makes pointer from integer without a cast tree234.c:67547: error: incompatible types in initialisation tree234.c:67547: error: initialiser element is not constant tree234.c:67547: error: (near initialisation for `mercury_data__module_layout__tree234.MR_ml_trace_level') tree234.c:67549: warning: initialisation makes integer from pointer without a cast tree234.c:67550: warning: initialisation makes pointer from integer without a cast tree234.c:67552: warning: initialisation makes pointer from integer without a cast tree234.c:67553: warning: initialisation makes integer from pointer without a cast tree234.c:67553: error: initialiser element is not computable at load time tree234.c:67553: error: (near initialisation for `mercury_data__module_layout__tree234.MR_ml_user_event_max_num_attr') tree234.c:67554: warning: initialisation makes integer from pointer without a cast tree234.c:67556: warning: excess elements in struct initialiser tree234.c:67556: warning: (near initialisation for `mercury_data__module_layout__tree234') tree234.c:67557: warning: excess elements in struct initialiser tree234.c:67557: warning: (near initialisation for `mercury_data__module_layout__tree234') tree234.c:67559: warning: excess elements in struct initialiser tree234.c:67559: warning: (near initialisation for `mercury_data__module_layout__tree234') make: *** [tree234.o] Error 1 I think the problem is that I need a newer ROTD to compile. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2007-10-03 14:15 | New Issue | ||||
| 2007-10-05 12:54 | anonymous | Note Added: 0000009 | |||
| 2007-10-05 13:31 | zs | Note Added: 0000010 | |||
| 2007-10-05 13:31 | zs | Status | new => closed | ||
| 2007-10-05 13:31 | zs | Resolution | open => won't fix | ||