#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)
Changed 10 years ago by
Attachment: | patch-279t.txt added |
---|
Changed 10 years ago by
Attachment: | patch-279b.txt added |
---|
comment:1 Changed 10 years ago by
Owner: | set to Yuri Dario |
---|---|
Status: | new → accepted |
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:5 Changed 9 years ago by
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.