Skip to content

Commit

Permalink
ci: Ignore warnings from gtk for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eyal0 committed Nov 4, 2021
1 parent c735e30 commit 3dca17a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ AC_ARG_VAR([pcb2gcode_LDFLAGS_EXTRA], [Additional flags when linking pcb2gcode])
CFLAGS+=" ${gerbv_CFLAGS}"
AX_C_COMPILE_VALUE(GERBV_INTERPOLATION_LINEARx10,NEW_LINEARX10,[#include "gerbv.h"])

# Ignore GTK 2.0 warnings for linux and macos.
# Ignore GTK 2.0 warnings for linux and macos and windows
AC_SUBST([gerbv_CFLAGS_SYSTEM1], ['$(subst -I/usr/include/gtk-2.0,-isystem /usr/include/gtk-2.0,$(gerbv_CFLAGS))'])
AC_SUBST([gerbv_CFLAGS_SYSTEM], ['$(subst -I/usr/local/Cellar/gtk+/2.24.33/include/gtk-2.0,-isystem /usr/local/Cellar/gtk+/2.24.33/include/gtk-2.0,$(gerbv_CFLAGS_SYSTEM1))'])
AC_SUBST([gerbv_CFLAGS_SYSTEM2], ['$(subst -I/usr/local/Cellar/gtk+/2.24.33/include/gtk-2.0,-isystem /usr/local/Cellar/gtk+/2.24.33/include/gtk-2.0,$(gerbv_CFLAGS_SYSTEM1))'])
AC_SUBST([gerbv_CFLAGS_SYSTEM], ['$(subst -ID:/a/_temp/msys64/mingw64/include/glib-2.0,-isystem D:/a/_temp/msys64/mingw64/include/glib-2.0,$(gerbv_CFLAGS_SYSTEM2))'])

# Checks for header files.
AC_HEADER_STDC
Expand Down

0 comments on commit 3dca17a

Please sign in to comment.