Permalink
Browse files

geanypy: Try to disable C compiler warnings about long long usage

Enable the -Wno-long-long flag if the compiler understands it, because
Python uses it.  No need to do a proper check for whether the compiler
has a long long type since it's not our code that uses it anyway.
  • Loading branch information...
1 parent d1e9203 commit 390f005a9ea03787dbb19aabeec59dcabf3b6f84 @b4n b4n committed Apr 20, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 build/geanypy.m4
View
@@ -21,7 +21,10 @@ AC_DEFUN([GP_CHECK_GEANYPY],
dnl check for C flags we wish to use
GEANYPY_CFLAGS=
- for flag in -fno-strict-aliasing -Wno-write-strings; do
+ for flag in -fno-strict-aliasing \
+ -Wno-write-strings \
+ -Wno-long-long
+ do
GP_CHECK_CFLAG([$flag], [GEANYPY_CFLAGS="${GEANYPY_CFLAGS} $flag"])
done
AC_SUBST([GEANYPY_CFLAGS])

0 comments on commit 390f005

Please sign in to comment.