#68677 closed defect (fixed)

libgrapheme does not build with gcc-4.2: cc1: error: unrecognized command line option "-Wpedantic"

Reported by: barracuda156 Owned by: wwalexander (William Alexander)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger, leopard, snowleopard, powerpc Cc:
Port: libgrapheme

Description

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libgrapheme/libgrapheme/work/compwrap/cc/usr/bin/gcc-4.2 -c -o src/utf8.o -D_DEFAULT_SOURCE -std=c99 -Os -Wall -Wextra -Wpedantic -fPIC -ffreestanding src/utf8.c
cc1: error: unrecognized command line option "-Wpedantic"
cc1: error: unrecognized command line option "-Wpedantic"cc1: error: unrecognized command line option "-Wpedantic"

cc1: error: unrecognized command line option "-Wpedantic"
cc1: error: unrecognized command line option "-Wpedantic"
cc1: error: unrecognized command line option "-Wpedantic"
make: *** [src/utf8.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [gen/sentence.o] Error 1
make: *** [gen/line.o] Error 1
make: *** [gen/character.o] Error 1
make: *** [gen/util.o] Error 1
make: *** [gen/case.o] Error 1

Change History (2)

comment:1 Changed 10 months ago by barracuda156

There are a few other breaking issues: build system does not seem to respect archflags; missing getline needs legacysupport.

comment:2 Changed 10 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 32b65053cdd0d05c2cac68279844faa716a2c008/macports-ports (master):

libgrapheme: unbreak build on < 10.7, use correct archflags

Fixes: #68677

Note: See TracTickets for help on using tickets.