[MacPorts] #28324: libsamplerate: samplerate.h has comma at end of enumerator list
MacPorts
noreply at macports.org
Tue Feb 8 10:29:53 PST 2011
#28324: libsamplerate: samplerate.h has comma at end of enumerator list
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: boeyms@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: libsamplerate
-------------------------------------+--------------------------------------
When trying to compile darkice (#24867) with its +samplerate variant, I
get this error:
{{{
In file included from VorbisLibEncoder.h:56,
from DarkIce.cpp:92:
/opt/local/include/samplerate.h:177: error: comma at end of enumerator
list
}}}
It seems having a comma at the end of an enumerated list is valid in C99
but not C89, and if another project is compiling with -pedantic then it
will encounter this error.
When we've had other ports in the past that have had this error (e.g.
cairo in #26806) we've fixed them; perhaps we can fix this in
libsamplerate too.
--
Ticket URL: <https://trac.macports.org/ticket/28324>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list