#57353 closed defect (fixed)
aolserver @4.5.1: error: conflicting types for 'getsubopt'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | aolserver |
Description
https://paste.macports.org/4d7b1c877e2a
In file included from master.c:38: In file included from ./thread.h:42: In file included from /opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_www_aolserver/aolserver/work/aolserver-4.5.1/include/nsthread.h:136: /usr/include/stdlib.h:210:6: error: conflicting types for 'getsubopt' int getsubopt(char **, char * const *, char **); ^ /usr/include/unistd.h:748:6: note: previous declaration is here int getsubopt(char **, char * const *, char **); ^
Change History (5)
comment:1 Changed 6 years ago by tobypeterson
comment:2 Changed 6 years ago by tobypeterson
Tcl headers do something bad if you build with -DNO_CONST (which aolserver does).
comment:3 Changed 6 years ago by tobypeterson
comment:4 Changed 6 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
I think you forgot to commit the patchfile!
Note: See
TracTickets for help on using
tickets.
Looks like broken system headers.