#40564: darwintrace.c fails to compile with gcc-4.0 -----------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.0 Keywords: | Port: -----------------------+-------------------------------- {{{ $ make ... ===> making all in src/darwintracelib1.0 gcc -g -O2 -std=c99 -Wextra -Wall -fPIC -Wno-deprecated-declarations -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -c -o darwintrace.o darwintrace.c darwintrace.c:507:2: error: #error Please build with gcc-4.2 or later darwintrace.c: In function '__darwintrace_get_filemap': darwintrace.c:524: warning: implicit declaration of function '__sync_bool_compare_and_swap' make[2]: *** [darwintrace.o] Error 1 ... }}} -- Ticket URL: <https://trac.macports.org/ticket/40564> MacPorts <http://www.macports.org/> Ports system for OS X