Ticket #16718 (closed defect: fixed)
objc_encoding.m does not compile
| Reported by: | milosh@… | Owned by: | toby@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: |
Description (last modified by blb@…) (diff)
compiling macports trunk fails with
objc_encoding.m:45:20: warning: ctypes.h: No such file or directory objc_encoding.m: In function ‘objc_to_tclobj’: objc_encoding.m:59: error: ‘intptr_t’ undeclared (first use in this function) objc_encoding.m:59: error: (Each undeclared identifier is reported only once objc_encoding.m:59: error: for each function it appears in.) objc_encoding.m:59: error: expected ‘)’ before ‘val’ make: *** [objc_encoding.o] Error 1
Regression caused by r40058. Note: uname -a Linux 2.6.26-1-686 #1 SMP ... i686 GNU/Linux
Change History
comment:4 Changed 5 years ago by toby@…
Is it defined in a header on your system, perhaps stdint.h ? Seems like it'd be harmless enough to start including it. I only tested on 10.5/10.6
comment:6 Changed 5 years ago by toby@…
- Status changed from new to closed
- Resolution set to fixed
Added #include <stdint.h> to objc_encoding.m and Pextlib.c in r40476
Note: See
TracTickets for help on using
tickets.

