[MacPorts] #16718: objc_encoding.m does not compile
#16718: objc_encoding.m does not compile ---------------------------------+------------------------------------------ Reporter: milosh@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Keywords: | Port: ---------------------------------+------------------------------------------ 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 -- Ticket URL: <http://trac.macports.org/ticket/16718> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: toby@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => toby@macports.org -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: toby@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Old description:
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
New description: 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 -- Comment(by blb@macports.org): Isn't intptr_t C99-only? -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: toby@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Comment(by toby@macports.org): Linux? -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: toby@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Comment(by toby@macports.org): 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 -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: toby@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Comment(by milosh@macports.org): Yep, adding a {{{ #include <stdint.h> }}} makes intptr_t known. -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: toby@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by toby@macports.org): * status: new => closed * resolution: => fixed Comment: Added #include <stdint.h> to objc_encoding.m and Pextlib.c in r40476 -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16718: objc_encoding.m does not compile ----------------------------------+----------------------------------------- Reporter: milosh@… | Owner: toby@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.7.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 1.7.0 -- Ticket URL: <http://trac.macports.org/ticket/16718#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts