[MacPorts] #33418: avr-binutils 2.22 - Compile error: Undeclared "LONG_MIN"
#33418: avr-binutils 2.22 - Compile error: Undeclared "LONG_MIN" ---------------------------------------+------------------------------------ Reporter: marc.sowen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avr-binutils ---------------------------------------+------------------------------------ After upgrading to Xcode 4.3 and MacPort 2.0.4, I can't seem to compile avr-binutils. I get this error: {{{ cc -no-cpp-precomp -c -DHAVE_CONFIG_H -pipe -O2 -arch x86_64 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_avr-binutils/avr- binutils/work/binutils-2.22/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_avr-binutils/avr- binutils/work/binutils-2.22/libiberty/fibheap.c -o fibheap.o clang: warning: argument unused during compilation: '-no-cpp-precomp' checking whether ftello64 is declared... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_avr-binutils/avr- binutils/work/binutils-2.22/libiberty/fibheap.c:151:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function- declaration] free (heapa); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_avr-binutils/avr- binutils/work/binutils-2.22/libiberty/fibheap.c:220:30: error: use of undeclared identifier 'LONG_MIN' if (okey == key && okey != FIBHEAPKEY_MIN) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_avr-binutils/avr- binutils/work/binutils-2.22/libiberty/fibheap.c:38:24: note: expanded from macro 'FIBHEAPKEY_MIN' #define FIBHEAPKEY_MIN LONG_MIN ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_avr-binutils/avr- binutils/work/binutils-2.22/libiberty/fibheap.c:261:36: error: use of undeclared identifier 'LONG_MIN' fibheap_replace_key (heap, node, FIBHEAPKEY_MIN); ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/33418> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33418: avr-binutils 2.22 - Compile error: Undeclared "LONG_MIN" ---------------------------------------+------------------------------------ Reporter: marc.sowen@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avr-binutils ---------------------------------------+------------------------------------ Changes (by g5pw@…): * owner: macports-tickets@… => g5pw@… -- Ticket URL: <https://trac.macports.org/ticket/33418#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33418: avr-binutils 2.22 - Compile error: Undeclared "LONG_MIN" ---------------------------------------+------------------------------------ Reporter: marc.sowen@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avr-binutils ---------------------------------------+------------------------------------ Comment(by g5pw@…): Hello! Can you confirm this issue as resolved in r90721 ? -- Ticket URL: <https://trac.macports.org/ticket/33418#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33418: avr-binutils 2.22 - Compile error: Undeclared "LONG_MIN" ---------------------------------------+------------------------------------ Reporter: marc.sowen@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avr-binutils ---------------------------------------+------------------------------------ Comment(by marc.sowen@…): Replying to [comment:4 g5pw@…]:
Hello! Can you confirm this issue as resolved in r90721 ?
Sorry for the delay. Yes, it works now. You may close the ticket! -- Ticket URL: <https://trac.macports.org/ticket/33418#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33418: avr-binutils 2.22 - Compile error: Undeclared "LONG_MIN" ----------------------------------------+----------------------------------- Reporter: marc.sowen@… | Owner: g5pw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: avr-binutils | ----------------------------------------+----------------------------------- Changes (by g5pw@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:5 marc.sowen@…]:
Replying to [comment:4 g5pw@…]:
Hello! Can you confirm this issue as resolved in r90721 ?
Sorry for the delay. Yes, it works now. You may close the ticket!
Thank you! -- Ticket URL: <https://trac.macports.org/ticket/33418#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts