Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 390f005a9ea03787dbb19aabeec59dcabf3b6f84 1 parent d1e9203
Colomban Wendling b4n authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 build/geanypy.m4
5 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])
Please sign in to comment.
Something went wrong with that request. Please try again.