#279 closed defect (fixed)
Conflicting types for 'system'
Reported by: | dryeo | Owned by: | Yuri Dario |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.6 |
Component: | libc | Version: | 0.6.5 |
Severity: | major | Keywords: | conflict |
Cc: | dave.r.yeo@… |
Description
A configure script is dieing with
G:/usr/include/sys/process.h:72: error: conflicting types for 'system'
G:/usr/include/stdlib.h:121: note: previous declaration of 'system' was here
and sure enough sys/process.h uses
72 int system (__const__ char *);
and stdlib.h uses
121 int system(const char *);
not sure which is correct or if this is gcc 4.4.6 being pedantic but they should be reconciled or guarded
Attachments (2)
Change History (7)
by , 11 years ago
Attachment: | patch-279t.txt added |
---|
by , 11 years ago
Attachment: | patch-279b.txt added |
---|
comment:1 by , 11 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
comment:3 by , 11 years ago
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:5 by , 10 years ago
Component: | emx → libc |
---|
Note:
See TracTickets
for help on using tickets.
I'd like to clean up all the const, const and const usage while at it. Working on figuring out in which direction to go with this and cleaning it up.