[geany/geany-plugins] 390f00: geanypy: Try to disable C compiler warnings about long long usage

Colomban Wendling git-noreply at xxxxx
Sun Apr 20 12:14:12 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 20 Apr 2014 12:14:12 UTC
Commit:      390f005a9ea03787dbb19aabeec59dcabf3b6f84
             https://github.com/geany/geany-plugins/commit/390f005a9ea03787dbb19aabeec59dcabf3b6f84

Log Message:
-----------
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.


Modified Paths:
--------------
    build/geanypy.m4

Modified: build/geanypy.m4
5 lines changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -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])



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list