| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000379 | mercury | Bug | public | 2015-02-18 02:06 | 2015-02-19 01:38 | ||||
| Reporter | mvd23jsdf4 | ||||||||
| Assigned To | juliensf | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | x86_64 | OS | Fedora | OS Version | 21 | ||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000379: GCC 4.9.2 Giving Error | ||||||||
| Description | The GCC (version 4.9.2) on Fedora 21 is showing warnings on compile. See the attached file crypt.m. | ||||||||
| Steps To Reproduce | [mercuryuser@localhost crypt]$ mmc --make --debug crypt Making Mercury/int3s/crypt.int3 Making Mercury/ints/crypt.int Making Mercury/cs/crypt.c Making Mercury/os/crypt.o Making crypt In file included from /usr/include/stdlib.h:24:0, from /home/mercuryuser/local/lib/mercury/inc/mercury_std.h:23, from /home/mercuryuser/local/lib/mercury/inc/mercury_goto.h:13, from /home/mercuryuser/local/lib/mercury/inc/mercury_init.h:84, from Mercury/cs/crypt_init.c:18: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/stdlib.h:24:0, from /home/mercuryuser/local/lib/mercury/inc/mercury_std.h:23, from /home/mercuryuser/local/lib/mercury/inc/mercury_goto.h:13, from /home/mercuryuser/local/lib/mercury/inc/mercury_init.h:84, from Mercury/cs/crypt_init.c:18: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ... error log truncated, see `crypt.err' for the complete log. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
| ||||||||
Notes |
|
|
juliensf (administrator) 2015-02-19 01:18 |
The generated _init.c files define _BSD_SOURCE for some reason. |
|
juliensf (administrator) 2015-02-19 01:38 |
Fixed in commit b70619d. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-02-18 02:06 | mvd23jsdf4 | New Issue | |
| 2015-02-18 02:06 | mvd23jsdf4 | File Added: crypt.m | |
| 2015-02-19 01:16 | juliensf | Assigned To | => juliensf |
| 2015-02-19 01:16 | juliensf | Status | new => assigned |
| 2015-02-19 01:18 | juliensf | Note Added: 0000812 | |
| 2015-02-19 01:38 | juliensf | Note Added: 0000813 | |
| 2015-02-19 01:38 | juliensf | Status | assigned => resolved |
| 2015-02-19 01:38 | juliensf | Resolution | open => fixed |


