Opened 15 years ago

Closed 14 years ago

#21767 closed defect (fixed)

aubio-0.3.2 compile error -Wno-long-double

Reported by: gaskocher@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: snowleopard Cc: nerdling (Jeremy Lavergne), jinksys@…, yves@…, ih-mon@…
Port: aubio

Description (last modified by mf2k (Frank Schima))

Doesn't compile on Snow Leopard. Error is:

cc1: error: unrecognized command line option "-Wno-long-double"

Removing the parameter makes it build normally.

Attachments (2)

patch-Portfile.diff (360 bytes) - added by jinksys@… 14 years ago.
Darwin 10 Portfile patch
Portfile (1.8 KB) - added by yves@… 14 years ago.
Another solution : remove the args in configure

Download all attachments as: .zip

Change History (9)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: snowleopard added; aubio snow leopard Wno-long-double removed
Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

Changed 14 years ago by jinksys@…

Attachment: patch-Portfile.diff added

Darwin 10 Portfile patch

comment:3 Changed 14 years ago by jinksys@…

It seems Wno-long-double was a Apple GCC feature that has been dropped in the more recent versions. GCC 4.0 on my machine will compile aubio, but GCC 4.2 and 4.4 will not. A workaround would be to remove the compile option on Darwin 10 or support the option by using an older compiler (which is what my attached patch does).

comment:4 Changed 14 years ago by jinksys@…

Cc: jinksys@… added

Cc Me!

Changed 14 years ago by yves@…

Attachment: Portfile added

Another solution : remove the args in configure

comment:5 Changed 14 years ago by yves@…

Cc: yves@… added

Cc Me!

comment:6 Changed 14 years ago by ih-mon@…

Cc: ih-mon@… added

Cc Me!

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.