Opened 12 years ago
Closed 12 years ago
#35822 closed defect (fixed)
dap fails to compile on Lion due to redefined getline()
Reported by: | Polyergic (Shad Sterling) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | lion | Cc: | |
Port: | dap |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
It looks like Lion introduced a new getline() in the system headers which conflicts with a getline() defined by dap.
:info:build dap0.c:546:12: error: static declaration of 'getline' follows non-static declaration :info:build static int getline(DFILE *fp, char *line) :info:build ^ :info:build /usr/include/stdio.h:449:9: note: previous declaration is here :info:build ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); :info:build ^
Attachments (1)
Change History (3)
Changed 12 years ago by Polyergic (Shad Sterling)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | lion added; dap Lion getline removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | dap added |
Status: | new → assigned |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
build log