[MacPorts] #72617: xnec2c: cc1: error: unrecognized command line option "-std=gnu11"

MacPorts noreply at macports.org
Wed Jun 18 04:37:04 UTC 2025


#72617: xnec2c: cc1: error: unrecognized command line option "-std=gnu11"
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  vk1kcm
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.7
 Keywords:                |       Port:  xnec2c
--------------------------+----------------------
 {{{
 /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -DPROGRAMNAME_LOCALEDIR="\"/opt/local/share/locale\""
 -DPACKAGE_DATA_DIR="\"\"" -DPACKAGE_LOCALE_DIR="\"/opt/local//locale\""
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0
 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0
 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi
 -I/opt/local/include/harfbuzz -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0
 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include --pedantic -Wall
 -std=gnu11 -O2 -g -Wformat -Werror=format-security -fPIC -Wno-overlength-
 strings -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED
 -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGDK_PIXBUF_DISABLE_DEPRECATED
 -DG_DISABLE_DEPRECATED -pipe -Os -arch ppc -D_FORTIFY_SOURCE=2 -fopenmp
 -fno-math-errno -MT xnec2c-console.o -MD -MP -MF .deps/xnec2c-console.Tpo
 -c -o xnec2c-console.o `test -f 'console.c' || echo './'`console.c
 cc1: error: unrecognized command line option "-std=gnu11"
 cc1: error: unrecognized command line option "-std=gnu11"
 cc1: error: unrecognized command line option "-std=gnu11"
 cc1: error: unrecognized command line option "-std=gnu11"
 cc1: error: unrecognized command line option "-std=gnu11"
 cc1: error: unrecognized command line option "-std=gnu11"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72617>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list