cgit →
0.10.2.git2.0.1-3+deb8u1 →
armhf → 2016-04-07 22:44:03
sbuild (Debian sbuild) 0.66.0 (04 Oct 2015) on bm-wb-04
+==============================================================================+
| cgit 0.10.2.git2.0.1-3+deb8u1 (armhf) 07 Apr 2016 22:07 |
+==============================================================================+
Package: cgit
Version: 0.10.2.git2.0.1-3+deb8u1
Source Version: 0.10.2.git2.0.1-3+deb8u1
Distribution: jessie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
I: NOTICE: Log filtering will replace 'build/cgit-f5r3al/cgit-0.10.2.git2.0.1' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/cgit-f5r3al' with '<<BUILDDIR>>'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/jessie-staging-armhf-sbuild-6e7f01ac-6c0a-4d76-a95e-3f6a6142da11' with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 http://172.17.0.1 jessie-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 jessie-staging/main Sources [7728 kB]
Get:3 http://172.17.0.1 jessie-staging/main armhf Packages [8963 kB]
Ign http://172.17.0.1 jessie-staging/main Translation-en
Fetched 16.7 MB in 34s (479 kB/s)
Reading package lists...
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Check APT
---------
Checking available source versions...
Download source files with APT
------------------------------
Reading package lists...
Building dependency tree...
Reading state information...
Need to get 5170 kB of source archives.
Get:1 http://172.17.0.1/private/ jessie-staging/main cgit 0.10.2.git2.0.1-3+deb8u1 (dsc) [1867 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main cgit 0.10.2.git2.0.1-3+deb8u1 (tar) [5157 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main cgit 0.10.2.git2.0.1-3+deb8u1 (diff) [11.1 kB]
Fetched 5170 kB in 1s (3419 kB/s)
Download complete and in download only mode
Check architectures
-------------------
Check dependencies
------------------
Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/<<BUILDDIR>>/resolver-Db_vfN/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Ign file: ./ InRelease
Get:1 file: ./ Release.gpg [299 B]
Get:2 file: ./ Release [2119 B]
Ign file: ./ Translation-en
Reading package lists...
Reading package lists...
+------------------------------------------------------------------------------+
| Install core build dependencies (apt-based resolver) |
+------------------------------------------------------------------------------+
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sbuild-build-depends-core-dummy
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 0 B/810 B of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11822 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
Merged Build-Depends: asciidoc, debhelper (>= 9), dh-apache2, docbook-xsl, git, liblua5.1-0-dev, libssl-dev, libxml2-utils, pkg-config, tidy, unzip, xmlto
Filtered Build-Depends: asciidoc, debhelper (>= 9), dh-apache2, docbook-xsl, git, liblua5.1-0-dev, libssl-dev, libxml2-utils, pkg-config, tidy, unzip, xmlto
dpkg-deb: building package `sbuild-build-depends-cgit-dummy' in `/<<BUILDDIR>>/resolver-_gRfyL/apt_archive/sbuild-build-depends-cgit-dummy.deb'.
OK
Ign file: ./ InRelease
Get:1 file: ./ Release.gpg [299 B]
Get:2 file: ./ Release [2119 B]
Ign file: ./ Translation-en
Reading package lists...
Reading package lists...
+------------------------------------------------------------------------------+
| Install cgit build dependencies (apt-based resolver) |
+------------------------------------------------------------------------------+
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
apache2-dev asciidoc bsdmainutils debhelper docbook-xml docbook-xsl file
gettext gettext-base git git-man groff-base intltool-debian libapr1
libapr1-dev libaprutil1 libaprutil1-dev libasprintf0c2 libcroco3
libcurl3-gnutls liberror-perl libexpat1 libexpat1-dev libffi6 libglib2.0-0
libgnutls-deb0-28 libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3
libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap2-dev
liblua5.1-0 liblua5.1-0-dev libmagic1 libnettle4 libp11-kit0 libpipeline1
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline-dev
libreadline6-dev librtmp1 libsasl2-2 libsasl2-modules-db libsctp-dev
libsctp1 libsqlite3-0 libssh2-1 libssl-dev libssl1.0.0 libtasn1-6
libtidy-0.99-0 libtinfo-dev libunistring0 libuuid1 libxml2 libxml2-utils
libxslt1.1 man-db mime-support openssl pkg-config po-debconf python
python-minimal python2.7 python2.7-minimal sgml-base sgml-data tidy unzip
uuid-dev xml-core xmlto xsltproc zlib1g-dev
Suggested packages:
source-highlight vim-addon-manager wamerican wordlist whois vacation dh-make
docbook docbook-dsssl docbook-defguide dbtoepub docbook-xsl-doc-html
docbook-xsl-doc-pdf docbook-xsl-doc-text docbook-xsl-doc docbook-xsl-saxon
fop libsaxon-java libxalan2-java libxslthl-java xalan gettext-doc
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-cvs git-mediawiki git-svn groff gnutls-bin krb5-doc
krb5-user readline-doc www-browser libmail-box-perl python-doc python-tk
python2.7-doc binfmt-support sgml-base-doc perlsgml w3-recs opensp tidy-doc
zip xmltex
Recommended packages:
dblatex docbook-utils curl wget lynx-cur autopoint libasprintf-dev
libgettextpo-dev less rsync ssh-client ca-certificates libglib2.0-data
shared-mime-info xdg-user-dirs krb5-locales libtool libtool-bin
libsasl2-modules lksctp-tools libssl-doc uuid-runtime libmail-sendmail-perl
libpaper-utils
The following NEW packages will be installed:
apache2-dev asciidoc bsdmainutils debhelper docbook-xml docbook-xsl file
gettext gettext-base git git-man groff-base intltool-debian libapr1
libapr1-dev libaprutil1 libaprutil1-dev libasprintf0c2 libcroco3
libcurl3-gnutls liberror-perl libexpat1 libexpat1-dev libffi6 libglib2.0-0
libgnutls-deb0-28 libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3
libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap2-dev
liblua5.1-0 liblua5.1-0-dev libmagic1 libnettle4 libp11-kit0 libpipeline1
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline-dev
libreadline6-dev librtmp1 libsasl2-2 libsasl2-modules-db libsctp-dev
libsctp1 libsqlite3-0 libssh2-1 libssl-dev libssl1.0.0 libtasn1-6
libtidy-0.99-0 libtinfo-dev libunistring0 libxml2 libxml2-utils libxslt1.1
man-db mime-support openssl pkg-config po-debconf python python-minimal
python2.7 python2.7-minimal sbuild-build-depends-cgit-dummy sgml-base
sgml-data tidy unzip uuid-dev xml-core xmlto xsltproc zlib1g-dev
The following packages will be upgraded:
libuuid1
1 upgraded, 81 newly installed, 0 to remove and 43 not upgraded.
Need to get 28.8 MB/28.8 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Get:1 http://172.17.0.1/private/ jessie-staging/main libuuid1 armhf 2.25.2-6 [64.4 kB]
Get:2 http://172.17.0.1/private/ jessie-staging/main libpipeline1 armhf 1.4.0-1 [24.0 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main libssl1.0.0 armhf 1.0.1k-3+deb8u4 [846 kB]
Get:4 http://172.17.0.1/private/ jessie-staging/main groff-base armhf 1.22.2-8 [1045 kB]
Get:5 http://172.17.0.1/private/ jessie-staging/main bsdmainutils armhf 9.0.6 [177 kB]
Get:6 http://172.17.0.1/private/ jessie-staging/main man-db armhf 2.7.0.2-5 [972 kB]
Get:7 http://172.17.0.1/private/ jessie-staging/main libasprintf0c2 armhf 0.19.3-2 [31.1 kB]
Get:8 http://172.17.0.1/private/ jessie-staging/main libnettle4 armhf 2.7.1-5+deb8u1 [178 kB]
Get:9 http://172.17.0.1/private/ jessie-staging/main libhogweed2 armhf 2.7.1-5+deb8u1 [117 kB]
Get:10 http://172.17.0.1/private/ jessie-staging/main libffi6 armhf 3.1-2 [18.1 kB]
Get:11 http://172.17.0.1/private/ jessie-staging/main libp11-kit0 armhf 0.20.7-1 [66.7 kB]
Get:12 http://172.17.0.1/private/ jessie-staging/main libtasn1-6 armhf 4.2-3+deb8u1 [43.3 kB]
Get:13 http://172.17.0.1/private/ jessie-staging/main libgnutls-deb0-28 armhf 3.3.8-6+deb8u3 [624 kB]
Get:14 http://172.17.0.1/private/ jessie-staging/main libkeyutils1 armhf 1.5.9-5 [10.9 kB]
Get:15 http://172.17.0.1/private/ jessie-staging/main libkrb5support0 armhf 1.12.1+dfsg-19+deb8u2 [55.4 kB]
Get:16 http://172.17.0.1/private/ jessie-staging/main libk5crypto3 armhf 1.12.1+dfsg-19+deb8u2 [109 kB]
Get:17 http://172.17.0.1/private/ jessie-staging/main libkrb5-3 armhf 1.12.1+dfsg-19+deb8u2 [258 kB]
Get:18 http://172.17.0.1/private/ jessie-staging/main libgssapi-krb5-2 armhf 1.12.1+dfsg-19+deb8u2 [130 kB]
Get:19 http://172.17.0.1/private/ jessie-staging/main libidn11 armhf 1.29-1 [132 kB]
Get:20 http://172.17.0.1/private/ jessie-staging/main libsasl2-modules-db armhf 2.1.26.dfsg1-13+deb8u1 [65.6 kB]
Get:21 http://172.17.0.1/private/ jessie-staging/main libsasl2-2 armhf 2.1.26.dfsg1-13+deb8u1 [97.3 kB]
Get:22 http://172.17.0.1/private/ jessie-staging/main libldap-2.4-2 armhf 2.4.40+dfsg-1 [192 kB]
Get:23 http://172.17.0.1/private/ jessie-staging/main libmagic1 armhf 1:5.22+15-2+deb8u1 [244 kB]
Get:24 http://172.17.0.1/private/ jessie-staging/main libsqlite3-0 armhf 3.8.7.1-1+deb8u1 [377 kB]
Get:25 http://172.17.0.1/private/ jessie-staging/main libxml2 armhf 2.9.1+dfsg1-5+deb8u1 [705 kB]
Get:26 http://172.17.0.1/private/ jessie-staging/main libpython2.7-minimal armhf 2.7.9-2 [376 kB]
Get:27 http://172.17.0.1/private/ jessie-staging/main python2.7-minimal armhf 2.7.9-2 [1150 kB]
Get:28 http://172.17.0.1/private/ jessie-staging/main python-minimal armhf 2.7.9-1 [40.1 kB]
Get:29 http://172.17.0.1/private/ jessie-staging/main mime-support all 3.58 [36.0 kB]
Get:30 http://172.17.0.1/private/ jessie-staging/main libexpat1 armhf 2.1.0-6+deb8u1 [60.1 kB]
Get:31 http://172.17.0.1/private/ jessie-staging/main libpython2.7-stdlib armhf 2.7.9-2 [1812 kB]
Get:32 http://172.17.0.1/private/ jessie-staging/main python2.7 armhf 2.7.9-2 [251 kB]
Get:33 http://172.17.0.1/private/ jessie-staging/main libpython-stdlib armhf 2.7.9-1 [19.6 kB]
Get:34 http://172.17.0.1/private/ jessie-staging/main python armhf 2.7.9-1 [151 kB]
Get:35 http://172.17.0.1/private/ jessie-staging/main libapr1 armhf 1.5.1-3 [77.1 kB]
Get:36 http://172.17.0.1/private/ jessie-staging/main libaprutil1 armhf 1.5.4-1 [75.9 kB]
Get:37 http://172.17.0.1/private/ jessie-staging/main libglib2.0-0 armhf 2.42.1-1 [2250 kB]
Get:38 http://172.17.0.1/private/ jessie-staging/main libcroco3 armhf 0.6.8-3 [121 kB]
Get:39 http://172.17.0.1/private/ jessie-staging/main librtmp1 armhf 2.4+20150115.gita107cef-1 [54.0 kB]
Get:40 http://172.17.0.1/private/ jessie-staging/main libssh2-1 armhf 1.4.3-4.1+deb8u1 [115 kB]
Get:41 http://172.17.0.1/private/ jessie-staging/main libcurl3-gnutls armhf 7.38.0-4+deb8u3 [225 kB]
Get:42 http://172.17.0.1/private/ jessie-staging/main liblua5.1-0 armhf 5.1.5-7.1 [83.7 kB]
Get:43 http://172.17.0.1/private/ jessie-staging/main libsctp1 armhf 1.0.16+dfsg-2 [27.1 kB]
Get:44 http://172.17.0.1/private/ jessie-staging/main libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:45 http://172.17.0.1/private/ jessie-staging/main libxslt1.1 armhf 1.1.28-2+b1 [213 kB]
Get:46 http://172.17.0.1/private/ jessie-staging/main sgml-base all 1.26+nmu4 [14.6 kB]
Get:47 http://172.17.0.1/private/ jessie-staging/main file armhf 1:5.22+15-2+deb8u1 [60.0 kB]
Get:48 http://172.17.0.1/private/ jessie-staging/main gettext-base armhf 0.19.3-2 [116 kB]
Get:49 http://172.17.0.1/private/ jessie-staging/main openssl armhf 1.0.1k-3+deb8u4 [665 kB]
Get:50 http://172.17.0.1/private/ jessie-staging/main uuid-dev armhf 2.25.2-6 [77.8 kB]
Get:51 http://172.17.0.1/private/ jessie-staging/main libsctp-dev armhf 1.0.16+dfsg-2 [82.9 kB]
Get:52 http://172.17.0.1/private/ jessie-staging/main libapr1-dev armhf 1.5.1-3 [631 kB]
Get:53 http://172.17.0.1/private/ jessie-staging/main libldap2-dev armhf 2.4.40+dfsg-1 [302 kB]
Get:54 http://172.17.0.1/private/ jessie-staging/main libexpat1-dev armhf 2.1.0-6+deb8u1 [114 kB]
Get:55 http://172.17.0.1/private/ jessie-staging/main libaprutil1-dev armhf 1.5.4-1 [356 kB]
Get:56 http://172.17.0.1/private/ jessie-staging/main gettext armhf 0.19.3-2 [1167 kB]
Get:57 http://172.17.0.1/private/ jessie-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:58 http://172.17.0.1/private/ jessie-staging/main po-debconf all 1.0.16+nmu3 [220 kB]
Get:59 http://172.17.0.1/private/ jessie-staging/main debhelper all 9.20150101 [813 kB]
Get:60 http://172.17.0.1/private/ jessie-staging/main apache2-dev armhf 2.4.10-10+deb8u4 [280 kB]
Get:61 http://172.17.0.1/private/ jessie-staging/main asciidoc all 8.6.9-3 [830 kB]
Get:62 http://172.17.0.1/private/ jessie-staging/main xml-core all 0.13+nmu2 [24.2 kB]
Get:63 http://172.17.0.1/private/ jessie-staging/main sgml-data all 2.0.10 [181 kB]
Get:64 http://172.17.0.1/private/ jessie-staging/main docbook-xml all 4.5-7.2 [347 kB]
Get:65 http://172.17.0.1/private/ jessie-staging/main docbook-xsl all 1.78.1+dfsg-1 [2339 kB]
Get:66 http://172.17.0.1/private/ jessie-staging/main liberror-perl all 0.17-1.1 [22.4 kB]
Get:67 http://172.17.0.1/private/ jessie-staging/main git-man all 1:2.1.4-2.1+deb8u2 [1267 kB]
Get:68 http://172.17.0.1/private/ jessie-staging/main git armhf 1:2.1.4-2.1+deb8u2 [2725 kB]
Get:69 http://172.17.0.1/private/ jessie-staging/main libtinfo-dev armhf 5.9+20140913-1 [65.4 kB]
Get:70 http://172.17.0.1/private/ jessie-staging/main libreadline6-dev armhf 6.3-8 [105 kB]
Get:71 http://172.17.0.1/private/ jessie-staging/main libreadline-dev armhf 6.3-8 [994 B]
Get:72 http://172.17.0.1/private/ jessie-staging/main liblua5.1-0-dev armhf 5.1.5-7.1 [115 kB]
Get:73 http://172.17.0.1/private/ jessie-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-2 [199 kB]
Get:74 http://172.17.0.1/private/ jessie-staging/main libssl-dev armhf 1.0.1k-3+deb8u4 [1084 kB]
Get:75 http://172.17.0.1/private/ jessie-staging/main libtidy-0.99-0 armhf 20091223cvs-1.4+deb8u1 [99.8 kB]
Get:76 http://172.17.0.1/private/ jessie-staging/main libxml2-utils armhf 2.9.1+dfsg1-5+deb8u1 [90.0 kB]
Get:77 http://172.17.0.1/private/ jessie-staging/main pkg-config armhf 0.28-1 [55.1 kB]
Get:78 http://172.17.0.1/private/ jessie-staging/main tidy armhf 20091223cvs-1.4+deb8u1 [25.7 kB]
Get:79 http://172.17.0.1/private/ jessie-staging/main unzip armhf 6.0-16+deb8u2 [142 kB]
Get:80 http://172.17.0.1/private/ jessie-staging/main xsltproc armhf 1.1.28-2+b1 [118 kB]
Get:81 http://172.17.0.1/private/ jessie-staging/main xmlto armhf 0.0.25-2 [36.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 28.8 MB in 8s (3248 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11822 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.25.2-6_armhf.deb ...
Unpacking libuuid1:armhf (2.25.2-6) over (2.25.2-5) ...
Setting up libuuid1:armhf (2.25.2-6) ...
Processing triggers for libc-bin (2.19-15) ...
Selecting previously unselected package libpipeline1:armhf.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11822 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.4.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.0-1) ...
Selecting previously unselected package libssl1.0.0:armhf.
Preparing to unpack .../libssl1.0.0_1.0.1k-3+deb8u4_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1k-3+deb8u4) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.2-8_armhf.deb ...
Unpacking groff-base (1.22.2-8) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.0.2-5_armhf.deb ...
Unpacking man-db (2.7.0.2-5) ...
Selecting previously unselected package libasprintf0c2:armhf.
Preparing to unpack .../libasprintf0c2_0.19.3-2_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.19.3-2) ...
Selecting previously unselected package libnettle4:armhf.
Preparing to unpack .../libnettle4_2.7.1-5+deb8u1_armhf.deb ...
Unpacking libnettle4:armhf (2.7.1-5+deb8u1) ...
Selecting previously unselected package libhogweed2:armhf.
Preparing to unpack .../libhogweed2_2.7.1-5+deb8u1_armhf.deb ...
Unpacking libhogweed2:armhf (2.7.1-5+deb8u1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1-2_armhf.deb ...
Unpacking libffi6:armhf (3.1-2) ...
Selecting previously unselected package libp11-kit0:armhf.
Preparing to unpack .../libp11-kit0_0.20.7-1_armhf.deb ...
Unpacking libp11-kit0:armhf (0.20.7-1) ...
Selecting previously unselected package libtasn1-6:armhf.
Preparing to unpack .../libtasn1-6_4.2-3+deb8u1_armhf.deb ...
Unpacking libtasn1-6:armhf (4.2-3+deb8u1) ...
Selecting previously unselected package libgnutls-deb0-28:armhf.
Preparing to unpack .../libgnutls-deb0-28_3.3.8-6+deb8u3_armhf.deb ...
Unpacking libgnutls-deb0-28:armhf (3.3.8-6+deb8u3) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../libkeyutils1_1.5.9-5_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-5) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../libkrb5support0_1.12.1+dfsg-19+deb8u2_armhf.deb ...
Unpacking libkrb5support0:armhf (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../libk5crypto3_1.12.1+dfsg-19+deb8u2_armhf.deb ...
Unpacking libk5crypto3:armhf (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../libkrb5-3_1.12.1+dfsg-19+deb8u2_armhf.deb ...
Unpacking libkrb5-3:armhf (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-19+deb8u2_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libidn11:armhf.
Preparing to unpack .../libidn11_1.29-1_armhf.deb ...
Unpacking libidn11:armhf (1.29-1) ...
Selecting previously unselected package libsasl2-modules-db:armhf.
Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-13+deb8u1_armhf.deb ...
Unpacking libsasl2-modules-db:armhf (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libsasl2-2:armhf.
Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-13+deb8u1_armhf.deb ...
Unpacking libsasl2-2:armhf (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libldap-2.4-2:armhf.
Preparing to unpack .../libldap-2.4-2_2.4.40+dfsg-1_armhf.deb ...
Unpacking libldap-2.4-2:armhf (2.4.40+dfsg-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.22+15-2+deb8u1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.22+15-2+deb8u1) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u1_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.8.7.1-1+deb8u1) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u1_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u1) ...
Selecting previously unselected package libpython2.7-minimal:armhf.
Preparing to unpack .../libpython2.7-minimal_2.7.9-2_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.9-2) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-2_armhf.deb ...
Unpacking python2.7-minimal (2.7.9-2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_armhf.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.1.0-6+deb8u1_armhf.deb ...
Unpacking libexpat1:armhf (2.1.0-6+deb8u1) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-2_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.9-2) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-2_armhf.deb ...
Unpacking python2.7 (2.7.9-2) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.9-1_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.9-1) ...
Setting up libpython2.7-minimal:armhf (2.7.9-2) ...
Setting up python2.7-minimal (2.7.9-2) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13356 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_armhf.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libapr1:armhf.
Preparing to unpack .../libapr1_1.5.1-3_armhf.deb ...
Unpacking libapr1:armhf (1.5.1-3) ...
Selecting previously unselected package libaprutil1:armhf.
Preparing to unpack .../libaprutil1_1.5.4-1_armhf.deb ...
Unpacking libaprutil1:armhf (1.5.4-1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.42.1-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.42.1-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-3) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../librtmp1_2.4+20150115.gita107cef-1_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20150115.gita107cef-1) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../libssh2-1_1.4.3-4.1+deb8u1_armhf.deb ...
Unpacking libssh2-1:armhf (1.4.3-4.1+deb8u1) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u3_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u3) ...
Selecting previously unselected package liblua5.1-0:armhf.
Preparing to unpack .../liblua5.1-0_5.1.5-7.1_armhf.deb ...
Unpacking liblua5.1-0:armhf (5.1.5-7.1) ...
Selecting previously unselected package libsctp1:armhf.
Preparing to unpack .../libsctp1_1.0.16+dfsg-2_armhf.deb ...
Unpacking libsctp1:armhf (1.0.16+dfsg-2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package libxslt1.1:armhf.
Preparing to unpack .../libxslt1.1_1.1.28-2+b1_armhf.deb ...
Unpacking libxslt1.1:armhf (1.1.28-2+b1) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../sgml-base_1.26+nmu4_all.deb ...
Unpacking sgml-base (1.26+nmu4) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2+deb8u1_armhf.deb ...
Unpacking file (1:5.22+15-2+deb8u1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.3-2_armhf.deb ...
Unpacking gettext-base (0.19.3-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1k-3+deb8u4_armhf.deb ...
Unpacking openssl (1.0.1k-3+deb8u4) ...
Selecting previously unselected package uuid-dev:armhf.
Preparing to unpack .../uuid-dev_2.25.2-6_armhf.deb ...
Unpacking uuid-dev:armhf (2.25.2-6) ...
Selecting previously unselected package libsctp-dev.
Preparing to unpack .../libsctp-dev_1.0.16+dfsg-2_armhf.deb ...
Unpacking libsctp-dev (1.0.16+dfsg-2) ...
Selecting previously unselected package libapr1-dev.
Preparing to unpack .../libapr1-dev_1.5.1-3_armhf.deb ...
Unpacking libapr1-dev (1.5.1-3) ...
Selecting previously unselected package libldap2-dev:armhf.
Preparing to unpack .../libldap2-dev_2.4.40+dfsg-1_armhf.deb ...
Unpacking libldap2-dev:armhf (2.4.40+dfsg-1) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../libexpat1-dev_2.1.0-6+deb8u1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.1.0-6+deb8u1) ...
Selecting previously unselected package libaprutil1-dev.
Preparing to unpack .../libaprutil1-dev_1.5.4-1_armhf.deb ...
Unpacking libaprutil1-dev (1.5.4-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.3-2_armhf.deb ...
Unpacking gettext (0.19.3-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ...
Unpacking po-debconf (1.0.16+nmu3) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20150101_all.deb ...
Unpacking debhelper (9.20150101) ...
Selecting previously unselected package apache2-dev.
Preparing to unpack .../apache2-dev_2.4.10-10+deb8u4_armhf.deb ...
Unpacking apache2-dev (2.4.10-10+deb8u4) ...
Selecting previously unselected package asciidoc.
Preparing to unpack .../asciidoc_8.6.9-3_all.deb ...
Unpacking asciidoc (8.6.9-3) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
Unpacking xml-core (0.13+nmu2) ...
Selecting previously unselected package sgml-data.
Preparing to unpack .../sgml-data_2.0.10_all.deb ...
Unpacking sgml-data (2.0.10) ...
Selecting previously unselected package docbook-xml.
Preparing to unpack .../docbook-xml_4.5-7.2_all.deb ...
Unpacking docbook-xml (4.5-7.2) ...
Selecting previously unselected package docbook-xsl.
Preparing to unpack .../docbook-xsl_1.78.1+dfsg-1_all.deb ...
Unpacking docbook-xsl (1.78.1+dfsg-1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.1.4-2.1+deb8u2_all.deb ...
Unpacking git-man (1:2.1.4-2.1+deb8u2) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u2_armhf.deb ...
Unpacking git (1:2.1.4-2.1+deb8u2) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../libtinfo-dev_5.9+20140913-1_armhf.deb ...
Unpacking libtinfo-dev:armhf (5.9+20140913-1) ...
Selecting previously unselected package libreadline6-dev:armhf.
Preparing to unpack .../libreadline6-dev_6.3-8_armhf.deb ...
Unpacking libreadline6-dev:armhf (6.3-8) ...
Selecting previously unselected package libreadline-dev:armhf.
Preparing to unpack .../libreadline-dev_6.3-8_armhf.deb ...
Unpacking libreadline-dev:armhf (6.3-8) ...
Selecting previously unselected package liblua5.1-0-dev:armhf.
Preparing to unpack .../liblua5.1-0-dev_5.1.5-7.1_armhf.deb ...
Unpacking liblua5.1-0-dev:armhf (5.1.5-7.1) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../libssl-dev_1.0.1k-3+deb8u4_armhf.deb ...
Unpacking libssl-dev:armhf (1.0.1k-3+deb8u4) ...
Selecting previously unselected package libtidy-0.99-0.
Preparing to unpack .../libtidy-0.99-0_20091223cvs-1.4+deb8u1_armhf.deb ...
Unpacking libtidy-0.99-0 (20091223cvs-1.4+deb8u1) ...
Selecting previously unselected package libxml2-utils.
Preparing to unpack .../libxml2-utils_2.9.1+dfsg1-5+deb8u1_armhf.deb ...
Unpacking libxml2-utils (2.9.1+dfsg1-5+deb8u1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.28-1_armhf.deb ...
Unpacking pkg-config (0.28-1) ...
Selecting previously unselected package tidy.
Preparing to unpack .../tidy_20091223cvs-1.4+deb8u1_armhf.deb ...
Unpacking tidy (20091223cvs-1.4+deb8u1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../unzip_6.0-16+deb8u2_armhf.deb ...
Unpacking unzip (6.0-16+deb8u2) ...
Selecting previously unselected package xsltproc.
Preparing to unpack .../xsltproc_1.1.28-2+b1_armhf.deb ...
Unpacking xsltproc (1.1.28-2+b1) ...
Selecting previously unselected package xmlto.
Preparing to unpack .../xmlto_0.0.25-2_armhf.deb ...
Unpacking xmlto (0.0.25-2) ...
Selecting previously unselected package sbuild-build-depends-cgit-dummy.
Preparing to unpack .../sbuild-build-depends-cgit-dummy.deb ...
Unpacking sbuild-build-depends-cgit-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.4.0-1) ...
Setting up libssl1.0.0:armhf (1.0.1k-3+deb8u4) ...
Setting up groff-base (1.22.2-8) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up man-db (2.7.0.2-5) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:armhf (0.19.3-2) ...
Setting up libnettle4:armhf (2.7.1-5+deb8u1) ...
Setting up libhogweed2:armhf (2.7.1-5+deb8u1) ...
Setting up libffi6:armhf (3.1-2) ...
Setting up libp11-kit0:armhf (0.20.7-1) ...
Setting up libtasn1-6:armhf (4.2-3+deb8u1) ...
Setting up libgnutls-deb0-28:armhf (3.3.8-6+deb8u3) ...
Setting up libkeyutils1:armhf (1.5.9-5) ...
Setting up libkrb5support0:armhf (1.12.1+dfsg-19+deb8u2) ...
Setting up libk5crypto3:armhf (1.12.1+dfsg-19+deb8u2) ...
Setting up libkrb5-3:armhf (1.12.1+dfsg-19+deb8u2) ...
Setting up libgssapi-krb5-2:armhf (1.12.1+dfsg-19+deb8u2) ...
Setting up libidn11:armhf (1.29-1) ...
Setting up libsasl2-modules-db:armhf (2.1.26.dfsg1-13+deb8u1) ...
Setting up libsasl2-2:armhf (2.1.26.dfsg1-13+deb8u1) ...
Setting up libldap-2.4-2:armhf (2.4.40+dfsg-1) ...
Setting up libmagic1:armhf (1:5.22+15-2+deb8u1) ...
Setting up libsqlite3-0:armhf (3.8.7.1-1+deb8u1) ...
Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u1) ...
Setting up mime-support (3.58) ...
Setting up libexpat1:armhf (2.1.0-6+deb8u1) ...
Setting up libpython2.7-stdlib:armhf (2.7.9-2) ...
Setting up python2.7 (2.7.9-2) ...
Setting up libpython-stdlib:armhf (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libapr1:armhf (1.5.1-3) ...
Setting up libaprutil1:armhf (1.5.4-1) ...
Setting up libglib2.0-0:armhf (2.42.1-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.8-3) ...
Setting up librtmp1:armhf (2.4+20150115.gita107cef-1) ...
Setting up libssh2-1:armhf (1.4.3-4.1+deb8u1) ...
Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u3) ...
Setting up liblua5.1-0:armhf (5.1.5-7.1) ...
Setting up libsctp1:armhf (1.0.16+dfsg-2) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up libxslt1.1:armhf (1.1.28-2+b1) ...
Setting up sgml-base (1.26+nmu4) ...
Setting up file (1:5.22+15-2+deb8u1) ...
Setting up gettext-base (0.19.3-2) ...
Setting up openssl (1.0.1k-3+deb8u4) ...
Setting up uuid-dev:armhf (2.25.2-6) ...
Setting up libsctp-dev (1.0.16+dfsg-2) ...
Setting up libapr1-dev (1.5.1-3) ...
Setting up libldap2-dev:armhf (2.4.40+dfsg-1) ...
Setting up libexpat1-dev:armhf (2.1.0-6+deb8u1) ...
Setting up libaprutil1-dev (1.5.4-1) ...
Setting up gettext (0.19.3-2) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu3) ...
Setting up debhelper (9.20150101) ...
Setting up apache2-dev (2.4.10-10+deb8u4) ...
Setting up asciidoc (8.6.9-3) ...
Setting up xml-core (0.13+nmu2) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:2.1.4-2.1+deb8u2) ...
Setting up git (1:2.1.4-2.1+deb8u2) ...
Setting up libtinfo-dev:armhf (5.9+20140913-1) ...
Setting up libreadline6-dev:armhf (6.3-8) ...
Setting up libreadline-dev:armhf (6.3-8) ...
Setting up liblua5.1-0-dev:armhf (5.1.5-7.1) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Setting up libssl-dev:armhf (1.0.1k-3+deb8u4) ...
Setting up libtidy-0.99-0 (20091223cvs-1.4+deb8u1) ...
Setting up libxml2-utils (2.9.1+dfsg1-5+deb8u1) ...
Setting up pkg-config (0.28-1) ...
Setting up tidy (20091223cvs-1.4+deb8u1) ...
Setting up unzip (6.0-16+deb8u2) ...
Setting up xsltproc (1.1.28-2+b1) ...
Processing triggers for sgml-base (1.26+nmu4) ...
Setting up sgml-data (2.0.10) ...
Setting up docbook-xsl (1.78.1+dfsg-1) ...
Processing triggers for sgml-base (1.26+nmu4) ...
Setting up docbook-xml (4.5-7.2) ...
Processing triggers for sgml-base (1.26+nmu4) ...
Setting up xmlto (0.0.25-2) ...
Setting up sbuild-build-depends-cgit-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.19-15) ...
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 3.19.0-trunk-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25-5 dpkg-dev_1.17.24 g++-4.9_4.9.2-10 gcc-4.8_4.8.4-1 gcc-4.9_4.9.2-10 libc6-dev_2.19-15 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 linux-libc-dev_3.16.7-ckt4-1+rpi1
Package versions: apache2-dev_2.4.10-10+deb8u4 apt_1.0.9.7 asciidoc_8.6.9-3 base-files_8+rpi1 base-passwd_3.5.37 bash_4.3-11 binutils_2.25-5 bsdmainutils_9.0.6 bsdutils_1:2.25.2-5 build-essential_11.7 bzip2_1.0.6-7 coreutils_8.23-4 cpio_2.11+dfsg-4.1 cpp_4:4.9.2-2 cpp-4.8_4.8.4-1 cpp-4.9_4.9.2-10 dash_0.5.7-4 debconf_1.5.56 debfoster_2.7-2 debhelper_9.20150101 debianutils_4.4 dialog_1.2-20140911-1 diffutils_1:3.3-1 docbook-xml_4.5-7.2 docbook-xsl_1.78.1+dfsg-1 dpkg_1.17.24 dpkg-dev_1.17.24 e2fslibs_1.42.12-1.1 e2fsprogs_1.42.12-1.1 fakeroot_1.20.2-1 file_1:5.22+15-2+deb8u1 findutils_4.4.2-9 g++_4:4.9.2-2 g++-4.9_4.9.2-10 gcc_4:4.9.2-2 gcc-4.5-base_4.5.3-12+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8_4.8.4-1 gcc-4.8-base_4.8.4-1 gcc-4.9_4.9.2-10 gcc-4.9-base_4.9.2-10 gettext_0.19.3-2 gettext-base_0.19.3-2 git_1:2.1.4-2.1+deb8u2 git-man_1:2.1.4-2.1+deb8u2 gnupg_1.4.18-7 gpgv_1.4.18-7 grep_2.20-4.1 groff-base_1.22.2-8 gzip_1.6-4 hostname_3.15 init_1.22 initscripts_2.88dsf-58 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.4-2+rpi1 kmod_18-3 libacl1_2.2.52-2 libapr1_1.5.1-3 libapr1-dev_1.5.1-3 libaprutil1_1.5.4-1 libaprutil1-dev_1.5.4-1 libapt-pkg4.12_1.0.9.7 libasan0_4.8.4-1 libasan1_4.9.2-10 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1 libblkid1_2.25.2-5 libbz2-1.0_1.0.6-7 libc-bin_2.19-15 libc-dev-bin_2.19-15 libc6_2.19-15 libc6-dev_2.19-15 libcap2_1:2.24-7 libcgi-pm-perl_4.09-1 libcloog-isl4_0.18.2-1 libcomerr2_1.42.12-1.1 libcroco3_0.6.8-3 libcurl3-gnutls_7.38.0-4+deb8u3 libdb5.1_5.1.29-6 libdb5.3_5.3.28-9 libdbus-1-3_1.8.16-1 libdebconfclient0_0.192 libdpkg-perl_1.17.24 liberror-perl_0.17-1.1 libexpat1_2.1.0-6+deb8u1 libexpat1-dev_2.1.0-6+deb8u1 libfakeroot_1.20.2-1 libffi6_3.1-2 libgc1c2_1:7.2d-6.4 libgcc-4.8-dev_4.8.4-1 libgcc-4.9-dev_4.9.2-10 libgcc1_1:4.9.2-10 libgcrypt20_1.6.2-4 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-4+rpi1 libgnutls-deb0-28_3.3.8-6+deb8u3 libgomp1_4.9.2-10 libgpg-error0_1.17-3 libgssapi-krb5-2_1.12.1+dfsg-19+deb8u2 libhogweed2_2.7.1-5+deb8u1 libidn11_1.29-1 libisl10_0.12.2-2 libk5crypto3_1.12.1+dfsg-19+deb8u2 libkeyutils1_1.5.9-5 libklibc_2.0.4-2+rpi1 libkmod2_18-3 libkrb5-3_1.12.1+dfsg-19+deb8u2 libkrb5support0_1.12.1+dfsg-19+deb8u2 libldap-2.4-2_2.4.40+dfsg-1 libldap2-dev_2.4.40+dfsg-1 liblua5.1-0_5.1.5-7.1 liblua5.1-0-dev_5.1.5-7.1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.22+15-2+deb8u1 libmount1_2.25.2-5 libmpc3_1.0.2-1 libmpfr4_3.1.2-2 libncurses5_5.9+20140913-1 libncursesw5_5.9+20140913-1 libnettle4_2.7.1-5+deb8u1 libp11-kit0_0.20.7-1 libpackage-constants-perl_0.04-1 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-3.3 libpipeline1_1.4.0-1 libpng12-0_1.2.50-2 libprocps0_1:3.3.4-2 libprocps3_2:3.3.9-9 libpython-stdlib_2.7.9-1 libpython2.7-minimal_2.7.9-2 libpython2.7-stdlib_2.7.9-2 libreadline-dev_6.3-8 libreadline6_6.3-8 libreadline6-dev_6.3-8 librtmp1_2.4+20150115.gita107cef-1 libsasl2-2_2.1.26.dfsg1-13+deb8u1 libsasl2-modules-db_2.1.26.dfsg1-13+deb8u1 libsctp-dev_1.0.16+dfsg-2 libsctp1_1.0.16+dfsg-2 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-2 libslang2_2.3.0-2 libsmartcols1_2.25.2-5 libsqlite3-0_3.8.7.1-1+deb8u1 libss2_1.42.12-1.1 libssh2-1_1.4.3-4.1+deb8u1 libssl-dev_1.0.1k-3+deb8u4 libssl1.0.0_1.0.1k-3+deb8u4 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 libsystemd0_215-12 libtasn1-6_4.2-3+deb8u1 libtidy-0.99-0_20091223cvs-1.4+deb8u1 libtimedate-perl_2.3000-2 libtinfo-dev_5.9+20140913-1 libtinfo5_5.9+20140913-1 libubsan0_4.9.2-10 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3 libuuid1_2.25.2-6 libxml2_2.9.1+dfsg1-5+deb8u1 libxml2-utils_2.9.1+dfsg1-5+deb8u1 libxslt1.1_1.1.28-2+b1 linux-libc-dev_3.16.7-ckt4-1+rpi1 locales_2.19-15 login_1:4.2-3 lsb-base_4.1+Debian13+rpi1+nmu1 make_4.0-8.1 makedev_2.3.1-93 man-db_2.7.0.2-5 mawk_1.3.3-17 mime-support_3.58 mount_2.25.2-5 multiarch-support_2.19-15 nano_2.2.6-3 ncurses-base_5.9+20140913-1 ncurses-bin_5.9+20140913-1 openssl_1.0.1k-3+deb8u4 passwd_1:4.2-3 patch_2.7.5-1 perl_5.20.2-2 perl-base_5.20.2-2 perl-modules_5.20.2-2 pkg-config_0.28-1 po-debconf_1.0.16+nmu3 procps_2:3.3.9-9 python_2.7.9-1 python-minimal_2.7.9-1 python2.7_2.7.9-2 python2.7-minimal_2.7.9-2 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-cgit-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 sgml-base_1.26+nmu4 sgml-data_2.0.10 startpar_0.59-3 sysv-rc_2.88dsf-58 sysvinit_2.88dsf-58 sysvinit-core_2.88dsf-58 sysvinit-utils_2.88dsf-58 tar_1.27.1-2 tidy_20091223cvs-1.4+deb8u1 tzdata_2015b-1 unzip_6.0-16+deb8u2 util-linux_2.25.2-5 uuid-dev_2.25.2-6 xml-core_0.13+nmu2 xmlto_0.0.25-2 xsltproc_1.1.28-2+b1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-2 zlib1g-dev_1:1.2.8.dfsg-2
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Mon Apr 4 07:02:21 2016 UTC using RSA key ID 1343CF44
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./cgit_0.10.2.git2.0.1-3+deb8u1.dsc
dpkg-source: info: extracting cgit in cgit-0.10.2.git2.0.1
dpkg-source: info: unpacking cgit_0.10.2.git2.0.1.orig.tar.gz
dpkg-source: info: unpacking cgit_0.10.2.git2.0.1-3+deb8u1.debian.tar.xz
dpkg-source: info: applying debianize_makefile
dpkg-source: info: applying fix_status_code_for_unknown_repos
dpkg-source: info: applying hardening
dpkg-source: info: applying ui-blob-Do-not-accept-mimetype-from-user.patch
dpkg-source: info: applying ui-shared-prevent-malicious-filename-from-injecting-.patch
dpkg-source: info: applying filter-avoid-integer-overflow-in-authenticate_post.patch
dpkg-source: info: applying filters-apply-HTML-escaping.patch
Check disc space
----------------
Sufficient free space for build
User Environment
----------------
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=jessie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=jessie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=jessie-staging-armhf-sbuild-6e7f01ac-6c0a-4d76-a95e-3f6a6142da11
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd
dpkg-buildpackage
-----------------
dpkg-buildpackage: source package cgit
dpkg-buildpackage: source version 0.10.2.git2.0.1-3+deb8u1
dpkg-buildpackage: source distribution jessie-security
dpkg-source --before-build cgit-0.10.2.git2.0.1
dpkg-buildpackage: host architecture armhf
fakeroot debian/rules clean
dh clean --with apache2
dh_testdir
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
rm -f cgit VERSION CGIT-CFLAGS *.o tags
rm -f -r .deps
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make cleanall
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
rm -f cgit VERSION CGIT-CFLAGS *.o tags
rm -f -r .deps
make -C git clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/git'
GIT_VERSION = 2.0.1
rm -f /<<PKGBUILDDIR>>/git/./*.gcda /<<PKGBUILDDIR>>/git/builtin/*.gcda /<<PKGBUILDDIR>>/git/compat/*.gcda /<<PKGBUILDDIR>>/git/ewah/*.gcda /<<PKGBUILDDIR>>/git/vcs-svn/*.gcda /<<PKGBUILDDIR>>/git/xdiff/*.gcda
rm -f /<<PKGBUILDDIR>>/git/./*.gcno /<<PKGBUILDDIR>>/git/builtin/*.gcno /<<PKGBUILDDIR>>/git/compat/*.gcno /<<PKGBUILDDIR>>/git/ewah/*.gcno /<<PKGBUILDDIR>>/git/vcs-svn/*.gcno /<<PKGBUILDDIR>>/git/xdiff/*.gcno
rm -f ./*.gcov builtin/*.gcov compat/*.gcov ewah/*.gcov vcs-svn/*.gcov xdiff/*.gcov
rm -f ./*.gcda builtin/*.gcda compat/*.gcda ewah/*.gcda vcs-svn/*.gcda xdiff/*.gcda
rm -f coverage-untested-functions
rm -f -r cover_db/
rm -f -r cover_db_html/
rm -f ./*.gcno builtin/*.gcno compat/*.gcno ewah/*.gcno vcs-svn/*.gcno xdiff/*.gcno
rm -f *.o *.res block-sha1/*.o ppc/*.o compat/*.o compat/*/*.o
rm -f xdiff/*.o vcs-svn/*.o ewah/*.o builtin/*.o
rm -f libgit.a xdiff/lib.a vcs-svn/lib.a
rm -f git-credential-store git-daemon git-fast-import git-http-backend git-imap-send git-sh-i18n--envsubst git-shell git-show-index git-upload-pack git-remote-testsvn git-http-fetch git-credential-cache git-credential-cache--daemon git-remote-http git-remote-https git-remote-ftp git-remote-ftps git-am git-bisect git-difftool--helper git-filter-branch git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-pull git-quiltimport git-rebase git-request-pull git-stash git-submodule git-web--browse git-add--interactive git-difftool git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email git-svn git-p4 git-instaweb git-mergetool--lib git-parse-remote git-rebase--am git-rebase--interactive git-rebase--merge git-sh-setup git-sh-i18n git-add git-annotate git-apply git-archive git-bisect--helper git-blame git-branch git-bundle git-cat-file git-check-attr git-check-ignore git-check-mailmap git-check-ref-format git-checkout-index git-checkout git-clean git-clone git-column git-commit-tree git-commit git-config git-count-objects git-credential git-describe git-diff-files git-diff-index git-diff-tree git-diff git-fast-export git-fetch-pack git-fetch git-fmt-merge-msg git-for-each-ref git-fsck git-gc git-get-tar-commit-id git-grep git-hash-object git-help git-index-pack git-init-db git-log git-ls-files git-ls-remote git-ls-tree git-mailinfo git-mailsplit git-merge git-merge-base git-merge-file git-merge-index git-merge-ours git-merge-recursive git-merge-tree git-mktag git-mktree git-mv git-name-rev git-notes git-pack-objects git-pack-redundant git-pack-refs git-patch-id git-prune-packed git-prune git-push git-read-tree git-receive-pack git-reflog git-remote git-remote-ext git-remote-fd git-repack git-replace git-rerere git-reset git-rev-list git-rev-parse git-revert git-rm git-send-pack git-shortlog git-show-branch git-show-ref git-stripspace git-symbolic-ref git-tag git-unpack-file git-unpack-objects git-update-index git-update-ref git-update-server-info git-upload-archive git-var git-verify-pack git-verify-tag git-write-tree git-cherry git-cherry-pick git-format-patch git-fsck-objects git-init git-merge-subtree git-show git-stage git-status git-whatchanged git
rm -f test-chmtime test-ctype test-date test-delta test-dump-cache-tree test-genrandom test-hashmap test-index-version test-line-buffer test-match-trees test-mergesort test-mktemp test-parse-options test-path-utils test-prio-queue test-read-cache test-regex test-revision-walking test-run-command test-scrap-cache-tree test-sha1 test-sigchain test-string-list test-subprocess test-svn-fe test-urlmatch-normalization test-wildmatch git-remote-testgit
rm -f -r bin-wrappers ./.depend builtin/.depend compat/.depend ewah/.depend vcs-svn/.depend xdiff/.depend
rm -f -r po/build/
rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags cscope*
rm -f -r git-2.0.1 .doc-tmp-dir
rm -f git-2.0.1.tar.gz git-core_2.0.1-*.tar.gz
rm -f git-htmldocs-2.0.1.tar.gz git-manpages-2.0.1.tar.gz
make -C Documentation/ clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/Documentation'
GEN mergetools-list.made
GEN cmd-list.made
GEN doc.dep
make[5]: Entering directory '/<<PKGBUILDDIR>>/git'
make[5]: 'GIT-VERSION-FILE' is up to date.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/git'
make[5]: Entering directory '/<<PKGBUILDDIR>>/git'
make[5]: 'GIT-VERSION-FILE' is up to date.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/git'
rm -f *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
rm -f *.texi *.texi+ *.texi++ git.info gitman.info
rm -f *.pdf
rm -f howto-index.txt howto/*.html doc.dep
rm -f technical/*.html technical/api-index.txt
rm -f cmds-ancillaryinterrogators.txt cmds-ancillarymanipulators.txt cmds-mainporcelain.txt cmds-plumbinginterrogators.txt cmds-plumbingmanipulators.txt cmds-synchingrepositories.txt cmds-synchelpers.txt cmds-purehelpers.txt cmds-foreignscminterface.txt mergetools-diff.txt mergetools-merge.txt *.made
rm -f manpage-base-url.xsl
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/Documentation'
make -C gitweb clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/gitweb'
make[5]: Entering directory '/<<PKGBUILDDIR>>/git'
make[5]: 'GIT-VERSION-FILE' is up to date.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/git'
rm -f gitweb.cgi static/gitweb.js \
static/gitweb.min.js static/gitweb.min.css \
GITWEB-BUILD-OPTIONS
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/gitweb'
make -C perl clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/perl'
rm -f ppport.h
rm -f perl.mak
rm -f perl.mak.old
rm -f PM.stamp
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/perl'
make -C templates/ clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/templates'
rm -f -r blt boilerplates.made
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/templates'
make -C t/ clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/t'
rm -f -r 'trash directory'.* 'test-results'
rm -f -r valgrind/bin
rm -f .prove
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/t'
make -C gitk-git clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/gitk-git'
rm -f gitk-wish po/*.msg GIT-TCLTK-VARS
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/gitk-git'
make -C git-gui clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/git/git-gui'
GITGUI_VERSION = 0.19.0.1.gb3f0c
rm -rf git-gui lib/tclIndex po/*.msg
rm -rf GIT-VERSION-FILE GIT-GUI-VARS
make[4]: Leaving directory '/<<PKGBUILDDIR>>/git/git-gui'
rm -f GIT-VERSION-FILE GIT-CFLAGS GIT-LDFLAGS GIT-BUILD-OPTIONS
rm -f GIT-USER-AGENT GIT-PREFIX
rm -f GIT-SCRIPT-DEFINES GIT-PERL-DEFINES GIT-PYTHON-VARS
make[3]: Leaving directory '/<<PKGBUILDDIR>>/git'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm tests/test-results/*.counts
rm: cannot remove 'tests/test-results/*.counts': No such file or directory
debian/rules:33: recipe for target 'override_dh_auto_clean' failed
make[1]: [override_dh_auto_clean] Error 1 (ignored)
rm -rf .depend
rm cgitrc.5
rm: cannot remove 'cgitrc.5': No such file or directory
debian/rules:33: recipe for target 'override_dh_auto_clean' failed
make[1]: [override_dh_auto_clean] Error 1 (ignored)
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules build-arch
dh build-arch --with apache2
dh_testdir -a
dh_auto_configure -a
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>/git'
CGIT_VERSION = v0.10.2
GIT_VERSION = 2.0.1
* new build flags
* new CGit build flags
CC ../cgit.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../cgit.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../cgit.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../cgit.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../cgit.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../cgit.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../cgit.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../cgit.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../cgit.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../cache.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../cache.c:19:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../cache.c:19:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../cache.c:19:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../cache.c:19:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../cache.c:19:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../cache.c:19:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../cache.c:19:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../cache.c:19:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../cache.c: In function 'process_slot':
../cache.c:315:2: warning: C++ style comments are not allowed in ISO C90
// We've got a valid cache slot in the lock file, which
^
../cache.c:315:2: warning: (this will be reported only once per input file)
../cache.c: In function 'cache_ls':
../cache.c:435:9: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
slot.buf);
^
CC ../cmd.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../cmd.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../cmd.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../cmd.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../cmd.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../cmd.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../cmd.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../cmd.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../cmd.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../configfile.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../configfile.h:4,
from ../configfile.c:11:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../configfile.h:4,
from ../configfile.c:11:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../configfile.h:4,
from ../configfile.c:11:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../configfile.h:4,
from ../configfile.c:11:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../configfile.h:4,
from ../configfile.c:11:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../configfile.h:4,
from ../configfile.c:11:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../configfile.h:4,
from ../configfile.c:11:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../configfile.h:4:0,
from ../configfile.c:11:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../filter.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../filter.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../filter.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../filter.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../filter.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../filter.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../filter.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../filter.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../filter.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../filter.c: In function 'cgit_init_filters':
../filter.c:52:13: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic]
libc_write = dlsym(RTLD_NEXT, "write");
^
CC ../html.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../html.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../html.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../html.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../html.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../html.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../html.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../html.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../html.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../parsing.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../parsing.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../parsing.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../parsing.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../parsing.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../parsing.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../parsing.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../parsing.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../parsing.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../parsing.c: In function 'cgit_parse_commit':
../parsing.c:153:12: warning: C++ style comments are not allowed in ISO C90
p += 46; // "tree " + hex[40] + "\n"
^
../parsing.c:153:12: warning: (this will be reported only once per input file)
CC ../scan-tree.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../scan-tree.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../scan-tree.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../scan-tree.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../scan-tree.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../scan-tree.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../scan-tree.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../scan-tree.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../scan-tree.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../shared.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../shared.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../shared.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../shared.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../shared.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../shared.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../shared.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../shared.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../shared.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../shared.c: In function 'cgit_diff_tree_cb':
../shared.c:257:4: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
((filepair_fn)data)(q->queue[i]);
^
../shared.c: In function 'filediff_cb':
../shared.c:301:5: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
((linediff_fn)priv)(mb[i].ptr, mb[i].size);
^
../shared.c:306:4: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
((linediff_fn)priv)(diffbuf, buflen + mb[i].size);
^
../shared.c:312:4: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
((linediff_fn)priv)(diffbuf, buflen);
^
../shared.c: In function 'cgit_diff_files':
../shared.c:355:15: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic]
emit_cb.priv = fn;
^
../shared.c: In function 'cgit_diff_tree':
../shared.c:380:27: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic]
opt.format_callback_data = fn;
^
../shared.c: In function 'cgit_prepare_repo_env':
../shared.c:443:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_URL", .value = repo->url },
^
../shared.c:443:30: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_URL", .value = repo->url },
^
../shared.c:443:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_URL", .value = repo->url },
^
../shared.c:443:3: warning: initializer element is not computable at load time
../shared.c:444:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_NAME", .value = repo->name },
^
../shared.c:444:31: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_NAME", .value = repo->name },
^
../shared.c:444:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_NAME", .value = repo->name },
^
../shared.c:444:3: warning: initializer element is not computable at load time
../shared.c:445:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_PATH", .value = repo->path },
^
../shared.c:445:31: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_PATH", .value = repo->path },
^
../shared.c:445:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_PATH", .value = repo->path },
^
../shared.c:445:3: warning: initializer element is not computable at load time
../shared.c:446:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_OWNER", .value = repo->owner },
^
../shared.c:446:32: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_OWNER", .value = repo->owner },
^
../shared.c:446:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_OWNER", .value = repo->owner },
^
../shared.c:446:3: warning: initializer element is not computable at load time
../shared.c:447:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_DEFBRANCH", .value = repo->defbranch },
^
../shared.c:447:36: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_DEFBRANCH", .value = repo->defbranch },
^
../shared.c:447:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_DEFBRANCH", .value = repo->defbranch },
^
../shared.c:447:3: warning: initializer element is not computable at load time
../shared.c:448:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_SECTION", .value = repo->section },
^
../shared.c:448:34: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_SECTION", .value = repo->section },
^
../shared.c:448:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_SECTION", .value = repo->section },
^
../shared.c:448:3: warning: initializer element is not computable at load time
../shared.c:449:5: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_CLONE_URL", .value = repo->clone_url }
^
../shared.c:449:36: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
{ .name = "CGIT_REPO_CLONE_URL", .value = repo->clone_url }
^
../shared.c:449:3: warning: initializer element is not computable at load time
{ .name = "CGIT_REPO_CLONE_URL", .value = repo->clone_url }
^
../shared.c:449:3: warning: initializer element is not computable at load time
CC ../ui-atom.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-atom.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-atom.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-atom.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-atom.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-atom.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-atom.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-atom.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-atom.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-atom.c: In function 'cgit_print_atom':
../ui-atom.c:84:2: warning: initializer element is not computable at load time
const char *argv[] = {NULL, tip, NULL, NULL, NULL};
^
CC ../ui-blob.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-blob.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-blob.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-blob.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-blob.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-blob.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-blob.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-blob.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-blob.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-blob.c: In function 'walk_tree':
../ui-blob.c:32:30: warning: overflow in implicit constant conversion [-Woverflow]
walk_tree_ctx->found_path = 1;
^
../ui-blob.c: In function 'cgit_ref_path_exists':
../ui-blob.c:41:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match = path,
^
../ui-blob.c:41:3: warning: initializer element is not computable at load time
../ui-blob.c:42:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.len = strlen(path)
^
../ui-blob.c:43:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c:43:2: warning: initializer element is not computable at load time
../ui-blob.c:45:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.nr = 1,
^
../ui-blob.c:46:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.items = &path_items
^
../ui-blob.c:47:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c:47:2: warning: initializer element is not computable at load time
../ui-blob.c:49:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match_path = path,
^
../ui-blob.c:49:3: warning: initializer element is not computable at load time
../ui-blob.c:50:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.matched_sha1 = sha1,
^
../ui-blob.c:50:3: warning: initializer element is not computable at load time
../ui-blob.c:51:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.found_path = 0,
^
../ui-blob.c:52:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.file_only = file_only
^
../ui-blob.c:53:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c: In function 'cgit_print_file':
../ui-blob.c:71:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match = path,
^
../ui-blob.c:71:3: warning: initializer element is not computable at load time
../ui-blob.c:72:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.len = strlen(path)
^
../ui-blob.c:73:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c:73:2: warning: initializer element is not computable at load time
../ui-blob.c:75:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.nr = 1,
^
../ui-blob.c:76:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.items = &path_items
^
../ui-blob.c:77:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c:77:2: warning: initializer element is not computable at load time
../ui-blob.c:79:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match_path = path,
^
../ui-blob.c:79:3: warning: initializer element is not computable at load time
../ui-blob.c:80:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.matched_sha1 = sha1,
^
../ui-blob.c:80:3: warning: initializer element is not computable at load time
../ui-blob.c:81:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.found_path = 0,
^
../ui-blob.c:82:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.file_only = file_only
^
../ui-blob.c:83:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c: In function 'cgit_print_blob':
../ui-blob.c:113:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match = path,
^
../ui-blob.c:113:3: warning: initializer element is not computable at load time
../ui-blob.c:114:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.len = path ? strlen(path) : 0
^
../ui-blob.c:115:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c:115:2: warning: initializer element is not computable at load time
../ui-blob.c:117:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.nr = 1,
^
../ui-blob.c:118:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.items = &path_items
^
../ui-blob.c:119:2: warning: initializer element is not computable at load time
};
^
../ui-blob.c:119:2: warning: initializer element is not computable at load time
../ui-blob.c:121:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match_path = path,
^
../ui-blob.c:121:3: warning: initializer element is not computable at load time
../ui-blob.c:122:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.matched_sha1 = sha1,
^
../ui-blob.c:122:3: warning: initializer element is not computable at load time
../ui-blob.c:123:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.found_path = 0,
^
../ui-blob.c:124:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.file_only = file_only
^
../ui-blob.c:125:2: warning: initializer element is not computable at load time
};
^
CC ../ui-clone.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-clone.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-clone.c:10:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-clone.c:10:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-clone.c:10:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-clone.c:10:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-clone.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-clone.c:10:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-clone.c:10:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-commit.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-commit.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-commit.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-commit.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-commit.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-commit.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-commit.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-commit.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-commit.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-diff.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-diff.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-diff.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-diff.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-diff.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-diff.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-diff.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-diff.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-diff.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-log.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-log.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-log.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-log.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-log.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-log.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-log.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-log.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-log.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-patch.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-patch.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-patch.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-patch.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-patch.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-patch.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-patch.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-patch.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-patch.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-patch.c: In function 'cgit_print_patch':
../ui-patch.c:21:2: warning: initializer element is not computable at load time
char *rev_argv[] = { NULL, "--reverse", "--format=email", rev_range };
^
CC ../ui-plain.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-plain.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-plain.c:10:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-plain.c:10:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-plain.c:10:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-plain.c:10:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-plain.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-plain.c:10:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-plain.c:10:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-plain.c: In function 'cgit_print_plain':
../ui-plain.c:215:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match = ctx.qry.path,
^
../ui-plain.c:215:3: warning: initializer element is not computable at load time
../ui-plain.c:216:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.len = ctx.qry.path ? strlen(ctx.qry.path) : 0
^
../ui-plain.c:217:2: warning: initializer element is not computable at load time
};
^
../ui-plain.c:217:2: warning: initializer element is not computable at load time
../ui-plain.c:219:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.nr = 1,
^
../ui-plain.c:220:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.items = &path_items
^
../ui-plain.c:221:2: warning: initializer element is not computable at load time
};
^
../ui-plain.c:221:2: warning: initializer element is not computable at load time
../ui-plain.c:223:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match = 0
^
CC ../ui-refs.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-refs.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-refs.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-refs.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-refs.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-refs.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-refs.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-refs.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-refs.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-repolist.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-repolist.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-repolist.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-repolist.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-repolist.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-repolist.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-repolist.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-repolist.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-repolist.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-repolist.c: In function 'sort_section':
../ui-repolist.c:173:4: warning: C++ style comments are not allowed in ISO C90
// get_repo_modtime caches the value in r->mtime, so we don't
^
../ui-repolist.c:173:4: warning: (this will be reported only once per input file)
CC ../ui-shared.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-shared.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-shared.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-shared.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-shared.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-shared.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-shared.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-shared.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-shared.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-shared.c: In function 'cgit_commit_link':
../ui-shared.c:341:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic]
char *delim;
^
../ui-shared.c: In function 'cgit_print_http_headers':
../ui-shared.c:649:3: warning: ISO C90 does not support the 'z' gnu_printf length modifier [-Wformat=]
htmlf("Content-Length: %zd\n", ctx.page.size);
^
../ui-shared.c: In function 'cgit_print_docstart':
../ui-shared.c:674:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic]
const char *host = cgit_hosturl();
^
CC ../ui-snapshot.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-snapshot.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-snapshot.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-snapshot.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-snapshot.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-snapshot.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-snapshot.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-snapshot.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-snapshot.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-ssdiff.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-ssdiff.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-ssdiff.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-ssdiff.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-ssdiff.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-ssdiff.c:1:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-ssdiff.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-ssdiff.c:1:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-ssdiff.c:1:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-ssdiff.c: In function 'create_or_reset_lcs_table':
../ui-ssdiff.c:30:2: warning: C++ style comments are not allowed in ISO C90
// xcalloc will die if we ran out of memory;
^
../ui-ssdiff.c:30:2: warning: (this will be reported only once per input file)
../ui-ssdiff.c: In function 'line_from_hunk':
../ui-ssdiff.c:108:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic]
int res = atoi(buf2);
^
CC ../ui-stats.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-stats.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-stats.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-stats.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-stats.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-stats.c:1:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-stats.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-stats.c:1:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-stats.c:1:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-stats.c: In function 'pretty_week':
../ui-stats.c:45:2: warning: ISO C90 does not support the '%V' gnu_strftime format [-Wformat=]
strftime(buf, sizeof(buf), "W%V %G", tm);
^
../ui-stats.c:45:2: warning: ISO C90 does not support the '%G' gnu_strftime format [-Wformat=]
../ui-stats.c: In function 'add_commit':
../ui-stats.c:194:12: warning: wrong type argument to increment [-Wpointer-arith]
item->util++;
^
../ui-stats.c: In function 'collect_stats':
../ui-stats.c:217:2: warning: initializer element is not computable at load time
const char *argv[] = {NULL, ctx.qry.head, NULL, NULL, NULL, NULL};
^
../ui-stats.c: In function 'print_authors':
../ui-stats.c:342:5: warning: ISO C90 does not support the 'z' gnu_printf length modifier [-Wformat=]
htmlf("<td>"SZ_FMT"</td>", (size_t)date->util);
^
CC ../ui-summary.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-summary.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-summary.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-summary.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-summary.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-summary.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-summary.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-summary.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-summary.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-tag.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-tag.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-tag.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-tag.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-tag.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-tag.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-tag.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-tag.c:9:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-tag.c:9:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC ../ui-tree.o
In file included from ./git-compat-util.h:302:0,
from ../cgit.h:5,
from ../ui-tree.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ../cgit.h:5:0,
from ../ui-tree.c:10:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ../cgit.h:6:0,
from ../ui-tree.c:10:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:6:0,
from ../ui-tree.c:10:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ../cgit.h:7:0,
from ../ui-tree.c:10:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ../cgit.h:10:0,
from ../ui-tree.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ../cgit.h:12:0,
from ../ui-tree.c:10:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ../ui-tree.c:10:0:
../cgit.h:141:3: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
../ui-tree.c: In function 'print_text_buffer':
../ui-tree.c:35:29: warning: C++ style comments are not allowed in ISO C90
while (idx < size - 1) { // skip absolute last newline
^
../ui-tree.c:35:29: warning: (this will be reported only once per input file)
../ui-tree.c: In function 'ls_tree':
../ui-tree.c:204:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.nr = 0
^
../ui-tree.c: In function 'cgit_print_tree':
../ui-tree.c:256:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match = path,
^
../ui-tree.c:256:3: warning: initializer element is not computable at load time
../ui-tree.c:257:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.len = path ? strlen(path) : 0
^
../ui-tree.c:258:2: warning: initializer element is not computable at load time
};
^
../ui-tree.c:258:2: warning: initializer element is not computable at load time
../ui-tree.c:260:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.nr = path ? 1 : 0,
^
../ui-tree.c:260:3: warning: initializer element is not computable at load time
../ui-tree.c:261:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.items = &path_items
^
../ui-tree.c:262:2: warning: initializer element is not computable at load time
};
^
../ui-tree.c:262:2: warning: initializer element is not computable at load time
../ui-tree.c:262:2: warning: initializer element is not computable at load time
../ui-tree.c:264:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.match_path = path,
^
../ui-tree.c:264:3: warning: initializer element is not computable at load time
../ui-tree.c:265:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic]
.state = 0
^
../ui-tree.c:266:2: warning: initializer element is not computable at load time
};
^
* new link flags
CC abspath.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from abspath.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from abspath.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from abspath.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from abspath.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC advice.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from advice.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from advice.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from advice.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from advice.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from advice.c:1:
advice.c: In function 'error_resolve_conflict':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
advice.c:79:2: note: in expansion of macro 'error'
error("'%s' is not possible because you have unmerged files.", me);
^
CC alias.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from alias.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from alias.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from alias.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from alias.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC alloc.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from alloc.c:12:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from alloc.c:12:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from alloc.c:12:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from alloc.c:12:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from alloc.c:16:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
alloc.c: In function 'report':
alloc.c:57:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
name, count, (uintmax_t) size);
^
CC archive.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from archive.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from archive.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from archive.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from archive.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from archive.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
archive.c: In function 'path_exists':
archive.c:219:2: warning: initializer element is not computable at load time
const char *paths[] = { path, NULL };
^
archive.c: In function 'parse_archive_args':
archive.c:328:3: warning: initializer element is not computable at load time
OPT_STRING(0, "format", &format, N_("fmt"), N_("archive format")),
^
archive.c:328:3: warning: initializer element is not computable at load time
archive.c:329:3: warning: initializer element is not computable at load time
OPT_STRING(0, "prefix", &base, N_("prefix"),
^
archive.c:329:3: warning: initializer element is not computable at load time
archive.c:331:3: warning: initializer element is not computable at load time
OPT_STRING('o', "output", &output, N_("file"),
^
archive.c:331:3: warning: initializer element is not computable at load time
archive.c:333:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "worktree-attributes", &worktree_attributes,
^
archive.c:333:3: warning: initializer element is not computable at load time
archive.c:335:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose, N_("report archived files on stderr")),
^
archive.c:335:3: warning: initializer element is not computable at load time
archive.c:336:3: warning: initializer element is not computable at load time
OPT__COMPR('0', &compression_level, N_("store only"), 0),
^
archive.c:336:3: warning: initializer element is not computable at load time
archive.c:337:3: warning: initializer element is not computable at load time
OPT__COMPR('1', &compression_level, N_("compress faster"), 1),
^
archive.c:337:3: warning: initializer element is not computable at load time
archive.c:338:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('2', &compression_level, 2),
^
archive.c:338:3: warning: initializer element is not computable at load time
archive.c:339:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('3', &compression_level, 3),
^
archive.c:339:3: warning: initializer element is not computable at load time
archive.c:340:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('4', &compression_level, 4),
^
archive.c:340:3: warning: initializer element is not computable at load time
archive.c:341:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('5', &compression_level, 5),
^
archive.c:341:3: warning: initializer element is not computable at load time
archive.c:342:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('6', &compression_level, 6),
^
archive.c:342:3: warning: initializer element is not computable at load time
archive.c:343:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('7', &compression_level, 7),
^
archive.c:343:3: warning: initializer element is not computable at load time
archive.c:344:3: warning: initializer element is not computable at load time
OPT__COMPR_HIDDEN('8', &compression_level, 8),
^
archive.c:344:3: warning: initializer element is not computable at load time
archive.c:345:3: warning: initializer element is not computable at load time
OPT__COMPR('9', &compression_level, N_("compress better"), 9),
^
archive.c:345:3: warning: initializer element is not computable at load time
archive.c:347:3: warning: initializer element is not computable at load time
OPT_BOOL('l', "list", &list,
^
archive.c:347:3: warning: initializer element is not computable at load time
archive.c:350:3: warning: initializer element is not computable at load time
OPT_STRING(0, "remote", &remote, N_("repo"),
^
archive.c:350:3: warning: initializer element is not computable at load time
archive.c:352:3: warning: initializer element is not computable at load time
OPT_STRING(0, "exec", &exec, N_("command"),
^
archive.c:352:3: warning: initializer element is not computable at load time
CC archive-tar.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from archive-tar.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from archive-tar.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from archive-tar.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from archive-tar.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC archive-zip.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from archive-zip.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from archive-zip.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from archive-zip.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from archive-zip.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC argv-array.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from argv-array.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from argv-array.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from argv-array.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from argv-array.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
* new prefix flags
CC attr.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from attr.c:11:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from attr.c:11:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from attr.c:11:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from attr.c:11:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from attr.c:14:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
attr.c:35:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
attr.c:146:20: warning: ISO C90 does not support flexible array members [-Wpedantic]
struct attr_state state[FLEX_ARRAY];
^
CC base85.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from base85.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from base85.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from base85.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from base85.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC bisect.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from bisect.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from bisect.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from bisect.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from bisect.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from bisect.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from bisect.c:3:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from bisect.c:4:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC blob.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from blob.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from blob.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from blob.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from blob.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from blob.c:1:
blob.c: In function 'lookup_blob':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
blob.c:14:3: note: in expansion of macro 'error'
error("Object %s is a %s, not a blob",
^
CC branch.o
In file included from git-compat-util.h:302:0,
from branch.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from branch.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from branch.c:2:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from branch.c:2:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from branch.c:5:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from branch.c:6:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from branch.c:1:0:
branch.c: In function 'create_branch':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
branch.c:254:5: note: in expansion of macro 'error'
error(_(upstream_missing), start_name);
^
CC bulk-checkin.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from bulk-checkin.h:7,
from bulk-checkin.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from bulk-checkin.h:7,
from bulk-checkin.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from bulk-checkin.h:7:0,
from bulk-checkin.c:4:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from bulk-checkin.h:7:0,
from bulk-checkin.c:4:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
bulk-checkin.c: In function 'deflate_to_pack':
bulk-checkin.c:204:9: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
typename(type), (uintmax_t)size) + 1;
^
CC bundle.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from bundle.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from bundle.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from bundle.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from bundle.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from bundle.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from bundle.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from bundle.c:6:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from cache.h:4:0,
from bundle.c:1:
bundle.c: In function 'parse_bundle_header':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
bundle.c:33:4: note: in expansion of macro 'error'
error(_("'%s' does not look like a v2 bundle file"),
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
bundle.c:60:5: note: in expansion of macro 'error'
error(_("unrecognized header: %s%s (%d)"),
^
bundle.c: In function 'verify_bundle':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
bundle.c:150:4: note: in expansion of macro 'error'
error("%s", message);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
bundle.c:151:3: note: in expansion of macro 'error'
error("%s %s", sha1_to_hex(e->sha1), e->name);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
bundle.c:172:5: note: in expansion of macro 'error'
error("%s", message);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
bundle.c:173:4: note: in expansion of macro 'error'
error("%s %s", sha1_to_hex(refs.objects[i].item->sha1),
^
CC cache-tree.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from cache-tree.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from cache-tree.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from cache-tree.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache-tree.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache-tree.c:4:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
CC color.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from color.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from color.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from color.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from color.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC column.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from column.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from column.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from column.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from column.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC combine-diff.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from combine-diff.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from combine-diff.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from combine-diff.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from combine-diff.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from combine-diff.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from combine-diff.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from log-tree.h:4,
from combine-diff.c:9:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
combine-diff.c:85:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char line[FLEX_ARRAY];
^
In file included from cache.h:4:0,
from combine-diff.c:1:
combine-diff.c: In function 'show_patch_diff':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
combine-diff.c:998:5: note: in expansion of macro 'error'
error("readlink(%s): %s", elem->path,
^
CC commit.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from commit.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from commit.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from commit.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from commit.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from commit.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from commit.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from commit.c:7:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from cache.h:4:0,
from commit.c:1:
commit.c: In function 'check_commit':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
commit.c:28:4: note: in expansion of macro 'error'
error("Object %s is a %s, not a commit",
^
commit.c: In function 'read_graft_line':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
commit.c:181:2: note: in expansion of macro 'error'
error("bad graft data: %s", buf);
^
commit.c: In function 'read_graft_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
commit.c:198:4: note: in expansion of macro 'error'
error("duplicate graft data: %s", buf.buf);
^
CC compat/obstack.o
In file included from ./git-compat-util.h:302:0,
from compat/obstack.c:21:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from compat/obstack.c:21:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC compat/terminal.o
In file included from ./git-compat-util.h:302:0,
from compat/terminal.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from compat/terminal.c:1:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC config.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from config.c:8:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from config.c:8:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from config.c:8:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from config.c:8:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from config.c:8:
config.c: In function 'git_default_push_config':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:941:4: note: in expansion of macro 'error'
error("Malformed value for %s: %s", var, value);
^
config.c: In function 'write_error':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1309:2: note: in expansion of macro 'error'
error("failed to write new configuration file %s", filename);
^
config.c: In function 'git_config_parse_key':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1448:3: note: in expansion of macro 'error'
error("key does not contain a section: %s", key);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1453:3: note: in expansion of macro 'error'
error("key does not contain variable name: %s", key);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1475:5: note: in expansion of macro 'error'
error("invalid key: %s", key);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1480:4: note: in expansion of macro 'error'
error("invalid key (newline): %s", key);
^
config.c: In function 'git_config_set_multivar_in_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1544:3: note: in expansion of macro 'error'
error("could not lock config file %s: %s", config_filename, strerror(errno));
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1558:4: note: in expansion of macro 'error'
error("opening %s: %s", config_filename,
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1591:5: note: in expansion of macro 'error'
error("invalid pattern: %s", value_regex);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1610:4: note: in expansion of macro 'error'
error("invalid config file %s", config_filename);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
config.c:1689:3: note: in expansion of macro 'error'
error("could not commit config file %s", config_filename);
^
CC connect.o
In file included from git-compat-util.h:302:0,
from connect.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from connect.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from connect.c:2:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from connect.c:2:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from connect.c:7:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC connected.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from connected.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from connected.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from connected.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from connected.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from transport.h:6:0,
from connected.c:5:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from connected.c:1:
connected.c: In function 'check_everything_connected_real':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
connected.c:90:5: note: in expansion of macro 'error'
error(_("failed write to rev-list: %s"),
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
connected.c:98:3: note: in expansion of macro 'error'
error(_("failed to close rev-list's stdin: %s"), strerror(errno));
^
CC convert.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from convert.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from convert.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from convert.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from convert.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from convert.c:1:
convert.c: In function 'filter_buffer':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
convert.c:362:3: note: in expansion of macro 'error'
error("cannot feed the input to external filter %s", params->cmd);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
convert.c:368:3: note: in expansion of macro 'error'
error("external filter %s failed %d", params->cmd, status);
^
convert.c: In function 'apply_filter':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
convert.c:408:3: note: in expansion of macro 'error'
error("read from external filter %s failed", cmd);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
convert.c:412:3: note: in expansion of macro 'error'
error("read from external filter %s failed", cmd);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
convert.c:416:3: note: in expansion of macro 'error'
error("external filter %s failed", cmd);
^
CC copy.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from copy.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from copy.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from copy.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from copy.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC credential.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from credential.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from credential.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from credential.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from credential.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC csum-file.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from csum-file.c:10:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from csum-file.c:10:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from csum-file.c:10:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from csum-file.c:10:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC ctype.o
In file included from git-compat-util.h:302:0,
from ctype.c:6:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ctype.c:6:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC date.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from date.c:7:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from date.c:7:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from date.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from date.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC decorate.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from decorate.c:5:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from decorate.c:5:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from decorate.c:5:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from decorate.c:5:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC diffcore-break.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diffcore-break.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diffcore-break.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diffcore-break.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-break.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-break.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
CC diffcore-delta.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diffcore-delta.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diffcore-delta.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diffcore-delta.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-delta.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-delta.c:2:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
diffcore-delta.c:46:18: warning: ISO C90 does not support flexible array members [-Wpedantic]
struct spanhash data[FLEX_ARRAY];
^
CC diffcore-order.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diffcore-order.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diffcore-order.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diffcore-order.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-order.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-order.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
CC diffcore-pickaxe.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diffcore-pickaxe.c:5:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diffcore-pickaxe.c:5:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diffcore-pickaxe.c:5:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-pickaxe.c:5:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-pickaxe.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
CC diffcore-rename.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diffcore-rename.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diffcore-rename.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diffcore-rename.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-rename.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diffcore-rename.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
CC diff-delta.o
In file included from git-compat-util.h:302:0,
from diff-delta.c:14:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from diff-delta.c:14:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
diff-delta.c:130:22: warning: ISO C90 does not support flexible array members [-Wpedantic]
struct index_entry *hash[FLEX_ARRAY];
^
CC diff-lib.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diff-lib.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diff-lib.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diff-lib.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diff-lib.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diff-lib.c:6:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from diff-lib.c:7:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from diff-lib.c:9:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from diff-lib.c:10:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from diff-lib.c:14:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC diff-no-index.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diff-no-index.c:7:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diff-no-index.c:7:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diff-no-index.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diff-no-index.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diff-no-index.c:9:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from diff-no-index.c:12:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from diff-no-index.c:14:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from diff-no-index.c:18:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC diff.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from diff.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from diff.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from diff.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from diff.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from diff.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
diff.c: In function 'show_stats':
diff.c:1656:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
del_c, deleted, reset);
^
diff.c:1659:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
add_c, added, reset);
^
diff.c:1694:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
added + deleted ? " " : "");
^
diff.c: In function 'show_numstat':
diff.c:1765:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
file->added, file->deleted);
^
diff.c:1765:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
In file included from cache.h:4:0,
from diff.c:4:
diff.c: In function 'diff_resolve_rename_copy':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
diff.c:4198:4: note: in expansion of macro 'error'
error("feeding unmodified %s to diffcore",
^
CC dir.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from dir.c:10:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from dir.c:10:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from dir.c:10:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from dir.c:10:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from dir.c:11:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC editor.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from editor.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from editor.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from editor.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from editor.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
editor.c: In function 'launch_editor':
editor.c:40:3: warning: initializer element is not computable at load time
const char *args[] = { editor, real_path(path), NULL };
^
editor.c:40:3: warning: initializer element is not computable at load time
CC entry.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from entry.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from entry.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from entry.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from entry.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from entry.c:3:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC environment.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from environment.c:10:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from environment.c:10:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from environment.c:10:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from environment.c:10:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from environment.c:13:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC ewah/bitmap.o
In file included from ./git-compat-util.h:302:0,
from ewah/bitmap.c:20:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ewah/bitmap.c:20:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ewah/bitmap.c:21:0:
ewah/ewok.h: In function 'ewah_bit_popcount64':
ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
CC ewah/ewah_bitmap.o
In file included from ./git-compat-util.h:302:0,
from ewah/ewah_bitmap.c:20:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ewah/ewah_bitmap.c:20:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ewah/ewah_bitmap.c:21:0:
ewah/ewok.h: In function 'ewah_bit_popcount64':
ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
CC ewah/ewah_io.o
In file included from ./git-compat-util.h:302:0,
from ewah/ewah_io.c:20:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ewah/ewah_io.c:20:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ewah/ewah_io.c:21:0:
ewah/ewok.h: In function 'ewah_bit_popcount64':
ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
CC ewah/ewah_rlw.o
In file included from ./git-compat-util.h:302:0,
from ewah/ewah_rlw.c:20:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ewah/ewah_rlw.c:20:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ewah/ewah_rlw.c:21:0:
ewah/ewok.h: In function 'ewah_bit_popcount64':
ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
CC exec_cmd.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from exec_cmd.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from exec_cmd.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from exec_cmd.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from exec_cmd.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC fetch-pack.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from fetch-pack.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from fetch-pack.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from fetch-pack.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from fetch-pack.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from fetch-pack.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from fetch-pack.c:10:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
fetch-pack.c: In function 'get_pack':
fetch-pack.c:718:6: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
"--keep=fetch-pack %"PRIuMAX " on ", (uintmax_t) getpid());
^
CC fsck.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from fsck.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from fsck.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from fsck.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from fsck.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from fsck.c:6:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from fsck.c:1:
fsck.c: In function 'fsck_walk':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
fsck.c:88:3: note: in expansion of macro 'error'
error("Unknown object type for %s", sha1_to_hex(obj->sha1));
^
fsck.c: In function 'fsck_error_function':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
fsck.c:377:2: note: in expansion of macro 'error'
error("%s", sb.buf);
^
CC gettext.o
In file included from git-compat-util.h:302:0,
from gettext.c:5:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from gettext.c:5:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC gpg-interface.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from gpg-interface.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from gpg-interface.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from gpg-interface.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from gpg-interface.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC graph.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from graph.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from graph.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from graph.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from graph.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from graph.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from graph.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from graph.c:6:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC grep.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from grep.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from grep.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from grep.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from grep.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from grep.c:2:0:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from grep.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from cache.h:4:0,
from grep.c:1:
grep.c: In function 'grep_source_load_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
grep.c:1715:4: note: in expansion of macro 'error'
error(_("'%s': %s"), filename, strerror(errno));
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
grep.c:1726:3: note: in expansion of macro 'error'
error(_("'%s': short read %s"), filename, strerror(errno));
^
CC hashmap.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from hashmap.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from hashmap.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from hashmap.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from hashmap.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
GEN common-cmds.h
CC help.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from help.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from help.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from help.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from help.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:7:0,
from help.c:2:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from help.c:5:0:
help.h:9:8: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
CC hex.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from hex.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from hex.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from hex.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from hex.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC ident.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from ident.c:8:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from ident.c:8:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ident.c:8:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ident.c:8:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC kwset.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from kwset.c:37:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from kwset.c:37:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from kwset.c:37:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from kwset.c:37:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC levenshtein.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from levenshtein.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from levenshtein.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from levenshtein.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from levenshtein.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC line-log.o
In file included from git-compat-util.h:302:0,
from line-log.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from line-log.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from line-log.c:3:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from line-log.c:3:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from line-log.c:7:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from line-log.c:8:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from revision.h:5:0,
from line-log.c:10:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC line-range.o
In file included from git-compat-util.h:302:0,
from line-range.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from line-range.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC list-objects.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from list-objects.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from list-objects.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from list-objects.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from list-objects.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from list-objects.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from list-objects.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from list-objects.c:8:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC ll-merge.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from ll-merge.c:7:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from ll-merge.c:7:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ll-merge.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ll-merge.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC lockfile.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from lockfile.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from lockfile.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from lockfile.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from lockfile.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from lockfile.c:4:
lockfile.c: In function 'unable_to_lock_error':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
lockfile.c:179:2: note: in expansion of macro 'error'
error("%s", msg);
^
CC log-tree.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from log-tree.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from log-tree.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from log-tree.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from log-tree.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from log-tree.c:2:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from log-tree.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from revision.h:5:0,
from log-tree.h:4,
from log-tree.c:6:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
log-tree.c:24:20: warning: comma at end of enumerator list [-Wpedantic]
DECORATION_GRAFTED,
^
CC mailmap.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from mailmap.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from mailmap.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from mailmap.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from mailmap.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC match-trees.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from match-trees.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from match-trees.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from match-trees.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from match-trees.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC merge.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from merge.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from merge.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from merge.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from merge.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from merge.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from merge.c:7:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC merge-blobs.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from merge-blobs.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from merge-blobs.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from merge-blobs.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from merge-blobs.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC merge-recursive.o
In file included from git-compat-util.h:302:0,
from advice.h:4,
from merge-recursive.c:6:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from advice.h:4:0,
from merge-recursive.c:6:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from merge-recursive.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from merge-recursive.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from merge-recursive.c:8:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from merge-recursive.c:9:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from merge-recursive.c:13:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from merge-recursive.c:22:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from advice.h:4:0,
from merge-recursive.c:6:
merge-recursive.c: In function 'make_room_for_path':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
merge-recursive.c:706:4: note: in expansion of macro 'error'
error(msg, path, _(": perhaps a D/F conflict?"));
^
CC mergesort.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from mergesort.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from mergesort.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from mergesort.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from mergesort.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC name-hash.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from name-hash.c:9:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from name-hash.c:9:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from name-hash.c:9:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from name-hash.c:9:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC notes.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from notes.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from notes.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from notes.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from notes.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
notes.c: In function 'add_non_note':
notes.c:397:3: warning: string length '2223' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
assert(strcmp(p->path, n->path) == 0);
^
In file included from notes.c:1:0:
notes.c: In function 'notes_display_config':
cache.h:1276:57: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define config_error_nonbool(s) (config_error_nonbool(s), -1)
^
notes.c:970:4: note: in expansion of macro 'config_error_nonbool'
config_error_nonbool(k);
^
CC notes-cache.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from notes-cache.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from notes-cache.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from notes-cache.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from notes-cache.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from notes-cache.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC notes-merge.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from notes-merge.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from notes-merge.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from notes-merge.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from notes-merge.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from notes-merge.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from notes-merge.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from notes-merge.c:8:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
notes-merge.c: In function 'verify_notes_filepair':
notes-merge.c:56:2: warning: string length '2419' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
assert(!strcmp(p->one->path, p->two->path));
^
notes-merge.c: In function 'notes_merge':
notes-merge.c:545:2: warning: string length '2479' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
assert(!strcmp(o->local_ref, local_tree->ref));
^
CC notes-utils.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from notes-utils.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from notes-utils.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from notes-utils.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from notes-utils.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from notes-utils.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from notes-utils.c:1:
notes-utils.c: In function 'notes_rewrite_config':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
notes-utils.c:81:4: note: in expansion of macro 'error'
error(_("Bad notes.rewriteMode value: '%s'"), v);
^
notes-utils.c: In function 'init_copy_notes_for_rewrite':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
notes-utils.c:118:4: note: in expansion of macro 'error'
error(_("Bad %s value: '%s'"), GIT_NOTES_REWRITE_MODE_ENVIRONMENT,
^
CC object.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from object.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from object.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from object.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from object.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from object.c:5:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from object.c:1:
object.c: In function 'parse_object':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
object.c:249:4: note: in expansion of macro 'error'
error("sha1 mismatch %s", sha1_to_hex(repl));
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
object.c:260:4: note: in expansion of macro 'error'
error("sha1 mismatch %s", sha1_to_hex(repl));
^
CC pack-bitmap.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pack-bitmap.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pack-bitmap.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pack-bitmap.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pack-bitmap.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from pack-bitmap.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from pack-bitmap.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from pack-bitmap.c:5:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from pack-bitmap.h:4:0,
from pack-bitmap.c:9:
ewah/ewok.h: In function 'ewah_bit_popcount64':
ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
In file included from pack-bitmap.c:9:0:
pack-bitmap.h: At top level:
pack-bitmap.h:28:27: warning: comma at end of enumerator list [-Wpedantic]
BITMAP_OPT_HASH_CACHE = 4,
^
In file included from cache.h:4:0,
from pack-bitmap.c:1:
pack-bitmap.c: In function 'read_bitmap_1':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
pack-bitmap.c:128:3: note: in expansion of macro 'error'
error("Failed to load bitmap index (corrupted?)");
^
pack-bitmap.c: In function 'store_bitmap':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
pack-bitmap.c:192:3: note: in expansion of macro 'error'
error("Duplicate entry in bitmap index: %s", sha1_to_hex(sha1));
^
CC pack-bitmap-write.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pack-bitmap-write.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pack-bitmap-write.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pack-bitmap-write.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pack-bitmap-write.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from pack-bitmap-write.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from pack-bitmap-write.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from pack-bitmap-write.c:5:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from pack-bitmap.h:4:0,
from pack-bitmap-write.c:10:
ewah/ewok.h: In function 'ewah_bit_popcount64':
ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
In file included from pack-bitmap-write.c:10:0:
pack-bitmap.h: At top level:
pack-bitmap.h:28:27: warning: comma at end of enumerator list [-Wpedantic]
BITMAP_OPT_HASH_CACHE = 4,
^
CC pack-check.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pack-check.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pack-check.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pack-check.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pack-check.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
pack-check.c: In function 'verify_packfile':
pack-check.c:114:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
err = error("index CRC mismatch for object %s "
^
pack-check.c:121:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
err = error("cannot unpack %s from %s at offset %"PRIuMAX"",
^
CC pack-objects.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pack-objects.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pack-objects.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pack-objects.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pack-objects.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC pack-revindex.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pack-revindex.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pack-revindex.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pack-revindex.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pack-revindex.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from pack-revindex.c:1:
pack-revindex.c: In function 'find_revindex_position':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
pack-revindex.c:234:2: note: in expansion of macro 'error'
error("bad offset for revindex");
^
CC pack-write.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pack-write.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pack-write.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pack-write.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pack-write.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from pack-write.c:1:
pack-write.c: In function 'fixup_pack_header_footer':
git-compat-util.h:55:40: warning: use of C99 long long integer constant [-Wlong-long]
#define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (bitsizeof(x) - (bits))))
^
pack-write.c:268:27: note: in expansion of macro 'MSB'
partial_pack_offset -= MSB(partial_pack_offset, 1);
^
CC pager.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pager.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pager.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pager.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pager.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC parse-options.o
In file included from git-compat-util.h:302:0,
from parse-options.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from parse-options.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from parse-options.c:3:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from parse-options.c:3:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from parse-options.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from parse-options.c:2:0:
parse-options.c: In function 'opt_command_mode_error':
parse-options.h:180:47: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define opterror(o,r,f) (opterror((o),(r),(f)), -1)
^
parse-options.c:71:3: note: in expansion of macro 'opterror'
opterror(opt, message.buf, flags);
^
In file included from parse-options.c:1:0:
parse-options.c: In function 'check_typos':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
parse-options.c:331:3: note: in expansion of macro 'error'
error ("did you mean `--%s` (with two dashes ?)", arg);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
parse-options.c:339:4: note: in expansion of macro 'error'
error ("did you mean `--%s` (with two dashes ?)", arg);
^
parse-options.c: In function 'parse_options':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
parse-options.c:507:4: note: in expansion of macro 'error'
error("unknown option `%s'", ctx.argv[0] + 2);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
parse-options.c:509:4: note: in expansion of macro 'error'
error("unknown switch `%c'", *ctx.opt);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
parse-options.c:511:4: note: in expansion of macro 'error'
error("unknown non-ascii option in string: `%s'",
^
CC parse-options-cb.o
In file included from git-compat-util.h:302:0,
from parse-options-cb.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from parse-options-cb.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from parse-options-cb.c:3:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from parse-options-cb.c:3:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from parse-options-cb.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC patch-delta.o
In file included from git-compat-util.h:302:0,
from patch-delta.c:12:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from patch-delta.c:12:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
patch-delta.c: In function 'patch_delta':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
patch-delta.c:71:4: note: in expansion of macro 'error'
error("unexpected delta opcode 0");
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
patch-delta.c:78:3: note: in expansion of macro 'error'
error("delta replay has gone wild");
^
CC patch-ids.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from patch-ids.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from patch-ids.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from patch-ids.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from patch-ids.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from patch-ids.c:2:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from patch-ids.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC path.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from path.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from path.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from path.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from path.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC pathspec.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pathspec.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pathspec.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pathspec.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pathspec.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from pathspec.c:2:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC pkt-line.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pkt-line.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pkt-line.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pkt-line.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pkt-line.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC preload-index.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from preload-index.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from preload-index.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from preload-index.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from preload-index.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from preload-index.c:6:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC pretty.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from pretty.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from pretty.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from pretty.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from pretty.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from pretty.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from pretty.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from pretty.c:5:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
pretty.c:277:17: warning: comma at end of enumerator list [-Wpedantic]
RFC2047_ADDRESS,
^
CC prio-queue.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from prio-queue.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from prio-queue.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from prio-queue.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from prio-queue.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from prio-queue.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC progress.o
In file included from git-compat-util.h:302:0,
from progress.c:11:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from progress.c:11:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC prompt.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from prompt.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from prompt.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from prompt.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from prompt.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from prompt.c:1:
prompt.c: In function 'do_askpass':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
prompt.c:35:3: note: in expansion of macro 'error'
error("unable to read askpass response from '%s'", cmd);
^
CC quote.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from quote.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from quote.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from quote.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from quote.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC reachable.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from reachable.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from reachable.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from reachable.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from reachable.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from reachable.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from reachable.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from reachable.c:7:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from reachable.c:9:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
CC read-cache.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from read-cache.c:7:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from read-cache.c:7:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from read-cache.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from read-cache.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from read-cache.c:8:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from read-cache.c:10:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from read-cache.c:12:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from read-cache.c:7:
read-cache.c: In function 'make_cache_entry':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
read-cache.c:710:3: note: in expansion of macro 'error'
error("Invalid path '%s'", path);
^
read-cache.c: At top level:
read-cache.c:1274:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
read-cache.c:1294:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC reflog-walk.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from reflog-walk.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from reflog-walk.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from reflog-walk.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from reflog-walk.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from reflog-walk.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from reflog-walk.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from reflog-walk.c:5:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC refs.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from refs.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from refs.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from refs.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from refs.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from refs.c:5:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
refs.c:250:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from cache.h:4:0,
from refs.c:1:
refs.c: In function 'ref_resolves_to_object':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:603:3: note: in expansion of macro 'error'
error("%s does not point to a valid object!", entry->name);
^
refs.c: In function 'is_refname_available':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:821:3: note: in expansion of macro 'error'
error("'%s' exists; cannot create '%s'",
^
refs.c: In function 'verify_lock':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:1928:3: note: in expansion of macro 'error'
error("Can't verify ref %s", lock->ref_name);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:1933:3: note: in expansion of macro 'error'
error("Ref %s is at %s but expected %s", lock->ref_name,
^
refs.c: In function 'lock_ref_sha1_basic':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2074:4: note: in expansion of macro 'error'
error("there are still refs under '%s'", orig_refname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2083:3: note: in expansion of macro 'error'
error("unable to resolve reference %s: %s",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2124:3: note: in expansion of macro 'error'
error("unable to create directory for %s", ref_file);
^
refs.c: In function 'write_packed_entry_fn':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2200:3: note: in expansion of macro 'error'
error("internal error: %s is not a valid packed reference!",
^
refs.c: At top level:
refs.c:2264:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from cache.h:4:0,
from refs.c:1:
refs.c: In function 'curate_packed_ref_fn':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2411:3: note: in expansion of macro 'error'
error("%s is broken!", entry->name);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2443:3: note: in expansion of macro 'error'
error("%s does not point to a valid object!", entry->name);
^
refs.c: In function 'rename_tmp_log':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2561:3: note: in expansion of macro 'error'
error("unable to create directory for %s", newrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2573:5: note: in expansion of macro 'error'
error("Directory not empty: logs/%s", newrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2585:4: note: in expansion of macro 'error'
error("unable to move logfile "TMP_RENAMED_LOG" to logs/%s: %s",
^
refs.c: In function 'rename_ref':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2623:3: note: in expansion of macro 'error'
error("unable to delete old %s", oldrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2631:5: note: in expansion of macro 'error'
error("Directory not empty: %s", newrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2635:4: note: in expansion of macro 'error'
error("unable to delete existing %s", newrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2647:3: note: in expansion of macro 'error'
error("unable to lock %s for update", newrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2653:3: note: in expansion of macro 'error'
error("unable to write current sha1 into %s", newrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2662:3: note: in expansion of macro 'error'
error("unable to lock %s for rollback", oldrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2670:3: note: in expansion of macro 'error'
error("unable to write current sha1 into %s", oldrefname);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2675:3: note: in expansion of macro 'error'
error("unable to restore logfile %s from %s: %s",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2679:3: note: in expansion of macro 'error'
error("unable to restore logfile %s from "TMP_RENAMED_LOG": %s",
^
refs.c: In function 'write_ref_sha1':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2832:3: note: in expansion of macro 'error'
error("Trying to write ref %s with nonexistent object %s",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2838:3: note: in expansion of macro 'error'
error("Trying to write non-commit object %s to branch %s",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2846:3: note: in expansion of macro 'error'
error("Couldn't write %s", lock->lk->filename);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2879:3: note: in expansion of macro 'error'
error("Couldn't set %s", lock->ref_name);
^
refs.c: In function 'create_symref':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2913:3: note: in expansion of macro 'error'
error("refname too long: %s", refs_heads_master);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2919:3: note: in expansion of macro 'error'
error("Unable to open %s for writing", lockpath);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2924:3: note: in expansion of macro 'error'
error("Unable to write to %s", lockpath);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2928:3: note: in expansion of macro 'error'
error("Unable to create %s", git_HEAD);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:2932:3: note: in expansion of macro 'error'
error("Unable to fix permissions on %s", lockpath);
^
refs.c: In function 'update_ref_lock':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:3263:20: note: in expansion of macro 'error'
case MSG_ON_ERR: error(str, refname); break;
^
refs.c: In function 'update_ref_write':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:3278:20: note: in expansion of macro 'error'
case MSG_ON_ERR: error(str, refname); break;
^
refs.c: In function 'ref_update_reject_duplicates':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
refs.c:3315:5: note: in expansion of macro 'error'
error(str, updates[i]->ref_name); break;
^
CC remote.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from remote.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from remote.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from remote.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from remote.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from remote.c:2:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from remote.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from remote.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from remote.c:6:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from remote.c:7:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from remote.c:1:
remote.c: In function 'handle_config':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:438:4: note: in expansion of macro 'error'
error("more than one receivepack given, using the first");
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:446:4: note: in expansion of macro 'error'
error("more than one uploadpack given, using the first");
^
remote.c: In function 'query_refspecs_multiple':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:866:3: note: in expansion of macro 'error'
error("query_refspecs_multiple: need either src or dst");
^
remote.c: In function 'match_explicit':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:1200:4: note: in expansion of macro 'error'
error("unable to delete '%s': remote ref does not exist",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:1205:4: note: in expansion of macro 'error'
error("unable to push to unqualified destination: %s\n"
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:1214:3: note: in expansion of macro 'error'
error("dst refspec %s matches more than one.",
^
remote.c: In function 'get_fetch_map':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote.c:1768:5: note: in expansion of macro 'error'
error("* Ignoring funny ref '%s' locally",
^
CC replace_object.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from replace_object.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from replace_object.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from replace_object.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from replace_object.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from replace_object.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC rerere.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from rerere.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from rerere.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from rerere.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from rerere.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from rerere.c:5:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from rerere.c:1:
rerere.c: In function 'handle_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
rerere.c:258:3: note: in expansion of macro 'error'
error("There were errors while writing %s (%s)",
^
rerere.c: In function 'merge':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
rerere.c:462:4: note: in expansion of macro 'error'
error("Could not write %s: %s", path, strerror(errno));
^
CC resolve-undo.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from resolve-undo.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from resolve-undo.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from resolve-undo.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from resolve-undo.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from resolve-undo.c:2:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from resolve-undo.c:1:
resolve-undo.c: In function 'resolve_undo_read':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
resolve-undo.c:101:2: note: in expansion of macro 'error'
error("Index records invalid resolve-undo information");
^
resolve-undo.c: In function 'unmerge_index_entry_at':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
resolve-undo.c:154:4: note: in expansion of macro 'error'
error("cannot unmerge '%s'", name);
^
CC revision.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from revision.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from revision.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from revision.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from revision.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from revision.c:5:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from revision.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from revision.c:8:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from revision.c:19:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
revision.c:514:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char treesame[FLEX_ARRAY];
^
In file included from cache.h:4:0,
from revision.c:1:
revision.c: In function 'parse_revision_opt':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
revision.c:1987:3: note: in expansion of macro 'error'
error("unknown option `%s'", ctx->argv[0]);
^
CC run-command.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from run-command.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from run-command.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from run-command.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from run-command.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from run-command.c:1:
run-command.c: In function 'wait_or_whine':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:243:3: note: in expansion of macro 'error'
error("waitpid for %s failed: %s", argv0, strerror(errno));
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:245:3: note: in expansion of macro 'error'
error("waitpid is confused (%s)", argv0);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:249:4: note: in expansion of macro 'error'
error("%s died of signal %d", argv0, code);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:266:3: note: in expansion of macro 'error'
error("waitpid is confused (%s)", argv0);
^
run-command.c: In function 'start_command':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:329:4: note: in expansion of macro 'error'
error("cannot create %s pipe for %s: %s",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:417:5: note: in expansion of macro 'error'
error("cannot run %s: %s", cmd->argv[0],
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:425:3: note: in expansion of macro 'error'
error("cannot fork() for %s: %s", cmd->argv[0],
^
run-command.c: In function 'start_async':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:721:4: note: in expansion of macro 'error'
error("cannot create thread: %s", strerror(err));
^
run-command.c: In function 'finish_async':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
run-command.c:749:3: note: in expansion of macro 'error'
error("pthread_join failed");
^
CC send-pack.o
In file included from git-compat-util.h:302:0,
from builtin.h:4,
from send-pack.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from builtin.h:4:0,
from send-pack.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin.h:6:0,
from send-pack.c:1:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:6:0,
from send-pack.c:1:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:7:0,
from send-pack.c:1:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from send-pack.c:7:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:4:0,
from send-pack.c:1:
send-pack.c: In function 'receive_status':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
send-pack.c:116:3: note: in expansion of macro 'error'
error("unpack failed: %s", line + 7);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
send-pack.c:127:4: note: in expansion of macro 'error'
error("invalid ref status from remote: %s", line);
^
send-pack.c: In function 'send_pack':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
send-pack.c:345:4: note: in expansion of macro 'error'
error("error in sideband demultiplexer");
^
CC sequencer.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sequencer.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sequencer.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sequencer.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sequencer.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from sequencer.c:3:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sequencer.c:5:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from sequencer.c:10:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from sequencer.c:11:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from sequencer.c:12:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from cache.h:4:0,
from sequencer.c:1:
sequencer.c: In function 'error_dirty_index':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:263:3: note: in expansion of macro 'error'
error(_("Your local changes would be overwritten by cherry-pick."));
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:265:3: note: in expansion of macro 'error'
error(_("Your local changes would be overwritten by revert."));
^
sequencer.c: In function 'do_pick_commit':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:634:3: note: in expansion of macro 'error'
error(opts->action == REPLAY_REVERT
^
sequencer.c: In function 'parse_insn_line':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:743:3: note: in expansion of macro 'error'
error(_("Cannot %s during a %s"), action_str, action_name(opts));
^
sequencer.c: In function 'create_seq_dir':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:860:3: note: in expansion of macro 'error'
error(_("a cherry-pick or revert is already in progress"));
^
sequencer.c: In function 'sequencer_rollback':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:929:3: note: in expansion of macro 'error'
error(_("cannot read %s: %s"), filename, ferror(f) ?
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sequencer.c:936:3: note: in expansion of macro 'error'
error(_("stored pre-cherry-pick HEAD file '%s' is corrupt"),
^
CC server-info.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from server-info.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from server-info.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from server-info.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from server-info.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from server-info.c:4:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from server-info.c:1:
server-info.c: In function 'read_pack_info_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
server-info.c:119:4: note: in expansion of macro 'error'
error("unrecognized: %s", line);
^
CC setup.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from setup.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from setup.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from setup.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from setup.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from setup.c:2:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC sha1-array.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sha1-array.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sha1-array.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sha1-array.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sha1-array.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC sha1-lookup.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sha1-lookup.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sha1-lookup.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sha1-lookup.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sha1-lookup.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC sha1_file.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sha1_file.c:9:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sha1_file.c:9:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sha1_file.c:9:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from sha1_file.c:14:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from sha1_file.c:24:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from sha1_file.c:9:
sha1_file.c: In function 'link_alt_odb_entry':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:307:3: note: in expansion of macro 'error'
error("object directory %s does not exist; "
^
sha1_file.c: In function 'link_alt_odb_entries':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:349:3: note: in expansion of macro 'error'
error("%s: ignoring alternate object stores, nesting too deep.",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:361:4: note: in expansion of macro 'error'
error("%s: ignoring relative alternate object store %s",
^
sha1_file.c: In function 'pack_report':
sha1_file.c:479:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
sz_fmt(packed_git_limit));
^
sha1_file.c:479:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
sha1_file.c:479:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
sha1_file.c:489:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
sz_fmt(pack_mapped), sz_fmt(peak_pack_mapped));
^
sha1_file.c:489:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
In file included from cache.h:4:0,
from sha1_file.c:9:
sha1_file.c: In function 'prepare_packed_git_one':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1194:4: note: in expansion of macro 'error'
error("unable to open object pack directory: %s: %s",
^
sha1_file.c: In function 'map_sha1_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1474:5: note: in expansion of macro 'error'
error("object file %s is empty", sha1_file_name(sha1));
^
sha1_file.c: In function 'unpack_object_header_buffer':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1497:4: note: in expansion of macro 'error'
error("bad object header");
^
sha1_file.c: In function 'unpack_sha1_rest':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1559:3: note: in expansion of macro 'error'
error("corrupt loose object '%s'", sha1_to_hex(sha1));
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1561:3: note: in expansion of macro 'error'
error("garbage at end of loose object '%s'",
^
sha1_file.c: In function 'get_size_from_delta':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1654:3: note: in expansion of macro 'error'
error("delta data unpack-initial failed");
^
In file included from cache.h:4:0,
from sha1_file.c:9:
sha1_file.c: In function 'get_delta_base':
git-compat-util.h:55:40: warning: use of C99 long long integer constant [-Wlong-long]
#define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (bitsizeof(x) - (bits))))
^
sha1_file.c:1691:24: note: in expansion of macro 'MSB'
if (!base_offset || MSB(base_offset, 7))
^
sha1_file.c: In function 'packed_to_object_type':
sha1_file.c:1831:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
error("unknown object type %i at offset %"PRIuMAX" in %s",
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:1831:3: note: in expansion of macro 'error'
error("unknown object type %i at offset %"PRIuMAX" in %s",
^
sha1_file.c: In function 'write_pack_access_log':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2100:4: note: in expansion of macro 'error'
error("cannot open pack access log '%s' for writing: %s",
^
sha1_file.c:2107:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
p->pack_name, (uintmax_t)obj_offset);
^
In file included from cache.h:4:0,
from sha1_file.c:9:
sha1_file.c: In function 'unpack_entry':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2158:5: note: in expansion of macro 'error'
error("bad packed object CRC for %s",
^
sha1_file.c:2172:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
error("failed to validate delta base reference "
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2172:4: note: in expansion of macro 'error'
error("failed to validate delta base reference "
^
sha1_file.c:2214:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
error("unknown object type %i at offset %"PRIuMAX" in %s",
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2214:3: note: in expansion of macro 'error'
error("unknown object type %i at offset %"PRIuMAX" in %s",
^
sha1_file.c:2246:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
error("failed to read delta base object %s"
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2246:5: note: in expansion of macro 'error'
error("failed to read delta base object %s"
^
sha1_file.c:2266:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
error("failed to unpack compressed delta "
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2266:4: note: in expansion of macro 'error'
error("failed to unpack compressed delta "
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2286:4: note: in expansion of macro 'error'
error("failed to apply delta");
^
sha1_file.c: In function 'read_packed_sha1':
sha1_file.c:2626:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
error("failed to read object %s at offset %"PRIuMAX" from %s",
^
In file included from cache.h:4:0,
from sha1_file.c:9:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_file.c:2626:3: note: in expansion of macro 'error'
error("failed to read object %s at offset %"PRIuMAX" from %s",
^
CC sha1_name.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sha1_name.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sha1_name.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sha1_name.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sha1_name.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from sha1_name.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from sha1_name.c:8:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from sha1_name.c:1:
sha1_name.c: In function 'peel_to_type':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sha1_name.c:640:5: note: in expansion of macro 'error'
error("%.*s: expected %s type, but the object "
^
CC shallow.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from shallow.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from shallow.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from shallow.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from shallow.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from shallow.c:2:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from shallow.c:5:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from shallow.c:8:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from shallow.c:9:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC sideband.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sideband.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sideband.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sideband.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sideband.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC sigchain.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from sigchain.c:2:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from sigchain.c:2:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from sigchain.c:2:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from sigchain.c:2:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC strbuf.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from strbuf.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from strbuf.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from strbuf.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from strbuf.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC streaming.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from streaming.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from streaming.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from streaming.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from streaming.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC string-list.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from string-list.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from string-list.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from string-list.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from string-list.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC submodule.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from submodule.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from submodule.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from submodule.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from submodule.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from submodule.c:3:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from submodule.c:4:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from submodule.c:5:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from revision.h:5:0,
from submodule.c:6:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
submodule.c: In function 'find_first_merges':
submodule.c:956:8: warning: initializer element is not computable at load time
"--all", merged_revision, NULL };
^
CC symlinks.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from symlinks.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from symlinks.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from symlinks.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from symlinks.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC tag.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from tag.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from tag.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from tag.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from tag.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from tag.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from tag.c:1:
tag.c: In function 'deref_tag':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
tag.c:22:3: note: in expansion of macro 'error'
error("missing object referenced by '%.*s'", warnlen, warn);
^
tag.c: In function 'lookup_tag':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
tag.c:47:3: note: in expansion of macro 'error'
error("Object %s is a %s, not a tag",
^
tag.c: In function 'parse_tag_buffer':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
tag.c:108:3: note: in expansion of macro 'error'
error("Unknown type %s", type);
^
CC trace.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from trace.c:25:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from trace.c:25:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from trace.c:25:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from trace.c:25:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC transport.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from transport.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from transport.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from transport.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from transport.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from transport.h:6:0,
from transport.c:2:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from transport.c:11:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC transport-helper.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from transport-helper.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from transport-helper.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from transport-helper.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from transport-helper.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from transport.h:6:0,
from transport-helper.c:2:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from transport-helper.c:5:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from transport-helper.c:6:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from transport-helper.c:7:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
transport-helper.c: In function 'get_helper':
transport-helper.c:114:3: warning: initializer element is not computable at load time
git_dir_buf,
^
In file included from cache.h:4:0,
from transport-helper.c:1:
transport-helper.c: In function 'udt_do_read':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
transport-helper.c:1137:3: note: in expansion of macro 'error'
error("read(%s) failed: %s", t->src_name, strerror(errno));
^
transport-helper.c: In function 'udt_do_write':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
transport-helper.c:1164:3: note: in expansion of macro 'error'
error("write(%s) failed: %s", t->dest_name, strerror(errno));
^
transport-helper.c: In function 'tloop_join':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
transport-helper.c:1213:3: note: in expansion of macro 'error'
error("%s thread failed", name);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
transport-helper.c:1217:3: note: in expansion of macro 'error'
error("%s thread failed to join: %s", name, strerror(err));
^
CC tree-diff.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from tree-diff.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from tree-diff.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from tree-diff.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from tree-diff.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from tree-diff.c:5:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
CC tree.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from tree.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from tree.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from tree.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from tree.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from tree.c:2:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from tree.c:5:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from tree.c:1:
tree.c: In function 'lookup_tree':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
tree.c:190:3: note: in expansion of macro 'error'
error("Object %s is a %s, not a tree",
^
CC tree-walk.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from tree-walk.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from tree-walk.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from tree-walk.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from tree-walk.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from tree-walk.c:4:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC unpack-trees.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from unpack-trees.c:2:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from unpack-trees.c:2:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from unpack-trees.c:2:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from unpack-trees.c:2:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from unpack-trees.c:3:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from unpack-trees.c:6:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from cache.h:4:0,
from unpack-trees.c:2:
unpack-trees.c: In function 'display_error_msgs':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
unpack-trees.c:168:4: note: in expansion of macro 'error'
error(ERRORMSG(o, e), path.buf);
^
CC url.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from url.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from url.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from url.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from url.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC urlmatch.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from urlmatch.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from urlmatch.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from urlmatch.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from urlmatch.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC usage.o
In file included from git-compat-util.h:302:0,
from usage.c:6:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from usage.c:6:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from usage.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from usage.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC userdiff.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from userdiff.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from userdiff.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from userdiff.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from userdiff.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
userdiff.c:135:1: warning: string length '531' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
PATTERNS("csharp",
^
CC utf8.o
In file included from git-compat-util.h:302:0,
from utf8.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from utf8.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC varint.o
In file included from git-compat-util.h:302:0,
from varint.h:4,
from varint.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from varint.h:4:0,
from varint.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from varint.h:4:0,
from varint.c:1:
varint.c: In function 'decode_varint':
git-compat-util.h:55:40: warning: use of C99 long long integer constant [-Wlong-long]
#define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (bitsizeof(x) - (bits))))
^
varint.c:10:15: note: in expansion of macro 'MSB'
if (!val || MSB(val, 7))
^
CC version.o
In file included from git-compat-util.h:302:0,
from version.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from version.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC versioncmp.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from versioncmp.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from versioncmp.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from versioncmp.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from versioncmp.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC walker.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from walker.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from walker.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from walker.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from walker.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from walker.h:4:0,
from walker.c:2:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from walker.c:3:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from cache.h:4:0,
from walker.c:1:
walker.c: In function 'walker_fetch':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
walker.c:268:4: note: in expansion of macro 'error'
error("Can't lock ref %s", write_ref[i]);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
walker.c:278:4: note: in expansion of macro 'error'
error("Could not interpret response from server '%s' as something to pull", target[i]);
^
CC wildmatch.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from wildmatch.c:12:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from wildmatch.c:12:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from wildmatch.c:12:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from wildmatch.c:12:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC wrapper.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from wrapper.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from wrapper.c:4:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from wrapper.c:4:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from wrapper.c:4:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
wrapper.c: In function 'memory_limit_check':
wrapper.c:21:7: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
(intmax_t)size, limit);
^
CC write_or_die.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from write_or_die.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from write_or_die.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from write_or_die.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from write_or_die.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC ws.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from ws.c:7:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from ws.c:7:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ws.c:7:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ws.c:7:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC wt-status.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from wt-status.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from wt-status.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from wt-status.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from wt-status.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from wt-status.c:5:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from wt-status.c:6:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from wt-status.c:7:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from wt-status.c:8:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from wt-status.c:13:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
wt-status.c: In function 'wt_status_print_unmerged_header':
wt-status.c:191:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, c, "");
^
wt-status.c: In function 'wt_status_print_cached_header':
wt-status.c:207:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, c, "");
^
wt-status.c: In function 'wt_status_print_dirty_header':
wt-status.c:226:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, c, "");
^
wt-status.c: In function 'wt_status_print_other_header':
wt-status.c:238:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, c, "");
^
wt-status.c: In function 'wt_status_print_trailer':
wt-status.c:243:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, color(WT_STATUS_HEADER, s), "");
^
wt-status.c: In function 'wt_status_print_other':
wt-status.c:839:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, GIT_COLOR_NORMAL, "");
^
wt-status.c: In function 'wt_status_print_tracking':
wt-status.c:926:3: warning: zero-length gnu_printf format string [-Wformat-zero-length]
fprintf_ln(s->fp, "");
^
wt-status.c: In function 'wt_status_print':
wt-status.c:1342:3: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf(s, color(WT_STATUS_HEADER, s), "");
^
wt-status.c:1355:3: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, color(WT_STATUS_HEADER, s), "");
^
wt-status.c:1357:3: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, color(WT_STATUS_HEADER, s), "");
^
wt-status.c:1374:4: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, GIT_COLOR_NORMAL, "");
^
CC xdiff-interface.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from xdiff-interface.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from xdiff-interface.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from xdiff-interface.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from xdiff-interface.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC zlib.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from zlib.c:5:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from zlib.c:5:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from zlib.c:5:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from zlib.c:5:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from zlib.c:5:
zlib.c: In function 'git_inflate_end':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
zlib.c:107:2: note: in expansion of macro 'error'
error("inflateEnd: %s (%s)", zerr_to_string(status),
^
zlib.c: In function 'git_inflate':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
zlib.c:144:2: note: in expansion of macro 'error'
error("inflate: %s (%s)", zerr_to_string(status),
^
zlib.c: In function 'git_deflate_end':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
zlib.c:220:2: note: in expansion of macro 'error'
error("deflateEnd: %s (%s)", zerr_to_string(status),
^
zlib.c: In function 'git_deflate':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
zlib.c:268:2: note: in expansion of macro 'error'
error("deflate: %s (%s)", zerr_to_string(status),
^
CC unix-socket.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from unix-socket.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from unix-socket.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from unix-socket.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from unix-socket.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC thread-utils.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from thread-utils.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from thread-utils.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from thread-utils.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from thread-utils.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
CC compat/strlcpy.o
In file included from compat/../git-compat-util.h:302:0,
from compat/strlcpy.c:1:
compat/../compat/bswap.h: In function 'default_bswap64':
compat/../compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/../compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/../compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/../compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/../compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/../compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/../compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/../compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from compat/strlcpy.c:1:0:
compat/../git-compat-util.h: At top level:
compat/../git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
AR libgit.a
CC xdiff/xdiffi.o
CC xdiff/xprepare.o
CC xdiff/xutils.o
CC xdiff/xemit.o
CC xdiff/xmerge.o
CC xdiff/xpatience.o
CC xdiff/xhistogram.o
AR xdiff/lib.a
* linking with autodetected lua5.1
LINK ../cgit
make[3]: Leaving directory '/<<PKGBUILDDIR>>/git'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
a2x -f manpage cgitrc.5.txt
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
chmod +x tests/*.sh
dh_auto_test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
SUBDIR git
CC credential-store.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from credential-store.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from credential-store.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from credential-store.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from credential-store.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
credential-store.c: In function 'main':
credential-store.c:127:3: warning: initializer element is not computable at load time
OPT_STRING(0, "file", &file, "path",
^
credential-store.c:127:3: warning: initializer element is not computable at load time
LINK git-credential-store
CC daemon.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from daemon.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from daemon.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from daemon.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from daemon.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
daemon.c:32:1: warning: string length '587' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
" [<directory>...]";
^
daemon.c: In function 'logreport':
daemon.c:76:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, "[%"PRIuMAX"] ", (uintmax_t)getpid());
^
daemon.c: In function 'check_dead_children':
daemon.c:728:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
loginfo("[%"PRIuMAX"] Disconnected%s", (uintmax_t)pid, dead);
^
daemon.c: In function 'handle':
daemon.c:743:2: warning: initializer element is not computable at load time
char *env[] = { addrbuf, portbuf, NULL };
^
daemon.c:743:2: warning: initializer element is not computable at load time
daemon.c: In function 'store_pid':
daemon.c:1107:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
if (fprintf(f, "%"PRIuMAX"\n", (uintmax_t) getpid()) < 0 || fclose(f) != 0)
^
LINK git-daemon
CC fast-import.o
In file included from git-compat-util.h:302:0,
from builtin.h:4,
from fast-import.c:154:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from builtin.h:4:0,
from fast-import.c:154:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin.h:6:0,
from fast-import.c:154:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:6:0,
from fast-import.c:154:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:7:0,
from fast-import.c:154:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from fast-import.c:166:0:
dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
fast-import.c:190:22: warning: ISO C90 does not support flexible array members [-Wpedantic]
struct object_entry entries[FLEX_ARRAY]; /* more */
^
fast-import.c:212:12: warning: ISO C90 does not support flexible array members [-Wpedantic]
uintmax_t space[FLEX_ARRAY]; /* more */
^
fast-import.c:218:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char str_dat[FLEX_ARRAY]; /* more */
^
fast-import.c:235:21: warning: ISO C90 does not support flexible array members [-Wpedantic]
struct tree_entry *entries[FLEX_ARRAY]; /* more */
^
fast-import.c: In function 'write_branch_report':
fast-import.c:392:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(rpt, " commit clock: %" PRIuMAX "\n", b->last_commit);
^
fast-import.c: In function 'write_crash_report':
fast-import.c:406:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
char *loc = git_path("fast_import_crash_%"PRIuMAX, (uintmax_t) getpid());
^
In file included from builtin.h:4:0,
from fast-import.c:154:
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
fast-import.c:413:3: note: in expansion of macro 'error'
error("can't write crash report %s: %s", loc, strerror(errno));
^
fast-import.c:420:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(rpt, " fast-import process: %"PRIuMAX"\n", (uintmax_t) getpid());
^
fast-import.c:421:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(rpt, " parent process : %"PRIuMAX"\n", (uintmax_t) getppid());
^
fast-import.c:452:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
++lu, b->last_commit, b->name);
^
fast-import.c: In function 'find_mark':
fast-import.c:684:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
die("mark :%" PRIuMAX " not declared", orig_idnum);
^
fast-import.c: In function 'stream_blob':
fast-import.c:1175:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
hdrlen = snprintf((char *)out_buf, out_sz, "blob %" PRIuMAX, len) + 1;
^
fast-import.c:1175:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:1199:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
die("EOF in data (%" PRIuMAX " bytes remaining)", len);
^
fast-import.c: In function 'dump_marks_helper':
fast-import.c:1755:6: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
sha1_to_hex(m->data.marked[k]->idx.sha1));
^
fast-import.c: In function 'note_change_n':
fast-import.c:2498:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
die("Mark :%" PRIuMAX " not a commit", commit_mark);
^
fast-import.c: In function 'parse_from':
fast-import.c:2605:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
die("Mark :%" PRIuMAX " not a commit", idnum);
^
fast-import.c: In function 'parse_merge':
fast-import.c:2640:5: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
die("Mark :%" PRIuMAX " not a commit", idnum);
^
fast-import.c: In function 'main':
fast-import.c:3451:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, "Alloc'd objects: %10" PRIuMAX "\n", alloc_count);
^
fast-import.c:3452:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, "Total objects: %10" PRIuMAX " (%10" PRIuMAX " duplicates )\n", total_count, duplicate_count);
^
fast-import.c:3452:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3453:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, " blobs : %10" PRIuMAX " (%10" PRIuMAX " duplicates %10" PRIuMAX " deltas of %10" PRIuMAX" attempts)\n", object_count_by_type[OBJ_BLOB], duplicate_count_by_type[OBJ_BLOB], delta_count_by_type[OBJ_BLOB], delta_count_attempts_by_type[OBJ_BLOB]);
^
fast-import.c:3453:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3453:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3453:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3454:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, " trees : %10" PRIuMAX " (%10" PRIuMAX " duplicates %10" PRIuMAX " deltas of %10" PRIuMAX" attempts)\n", object_count_by_type[OBJ_TREE], duplicate_count_by_type[OBJ_TREE], delta_count_by_type[OBJ_TREE], delta_count_attempts_by_type[OBJ_TREE]);
^
fast-import.c:3454:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3454:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3454:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3455:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, " commits: %10" PRIuMAX " (%10" PRIuMAX " duplicates %10" PRIuMAX " deltas of %10" PRIuMAX" attempts)\n", object_count_by_type[OBJ_COMMIT], duplicate_count_by_type[OBJ_COMMIT], delta_count_by_type[OBJ_COMMIT], delta_count_attempts_by_type[OBJ_COMMIT]);
^
fast-import.c:3455:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3455:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3455:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3456:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, " tags : %10" PRIuMAX " (%10" PRIuMAX " duplicates %10" PRIuMAX " deltas of %10" PRIuMAX" attempts)\n", object_count_by_type[OBJ_TAG], duplicate_count_by_type[OBJ_TAG], delta_count_by_type[OBJ_TAG], delta_count_attempts_by_type[OBJ_TAG]);
^
fast-import.c:3456:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3456:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3456:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3458:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, " marks: %10" PRIuMAX " (%10" PRIuMAX " unique )\n", (((uintmax_t)1) << marks->shift) * 1024, marks_set_count);
^
fast-import.c:3458:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fast-import.c:3460:102: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, "Memory total: %10" PRIuMAX " KiB\n", (total_allocd + alloc_count*sizeof(struct object_entry))/1024);
^
fast-import.c:3462:87: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
fprintf(stderr, " objects: %10" PRIuMAX " KiB\n", (alloc_count*sizeof(struct object_entry))/1024);
^
LINK git-fast-import
CC http-backend.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from http-backend.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from http-backend.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from http-backend.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from http-backend.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
http-backend.c: In function 'hdr_int':
http-backend.c:88:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
format_write(1, "%s: %" PRIuMAX "\r\n", name, value);
^
LINK git-http-backend
CC imap-send.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from imap-send.c:25:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from imap-send.c:25:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from imap-send.c:25:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from imap-send.c:25:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
imap-send.c: In function 'imap_open_store':
imap-send.c:963:3: warning: initializer element is not computable at load time
const char *argv[] = { srvc->tunnel, NULL };
^
LINK git-imap-send
CC sh-i18n--envsubst.o
In file included from git-compat-util.h:302:0,
from sh-i18n--envsubst.c:16:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from sh-i18n--envsubst.c:16:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
sh-i18n--envsubst.c: In function 'main':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sh-i18n--envsubst.c:75:4: note: in expansion of macro 'error'
error ("we won't substitute all variables on stdin for you");
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sh-i18n--envsubst.c:90:3: note: in expansion of macro 'error'
error ("first argument must be --variables when two are given");
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sh-i18n--envsubst.c:95:4: note: in expansion of macro 'error'
error ("too many arguments");
^
sh-i18n--envsubst.c: In function 'do_getc':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
sh-i18n--envsubst.c:306:2: note: in expansion of macro 'error'
error ("error while reading standard input");
^
LINK git-sh-i18n--envsubst
CC shell.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from shell.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from shell.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from shell.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from shell.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK git-shell
CC show-index.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from show-index.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from show-index.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from show-index.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from show-index.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
show-index.c: In function 'main':
show-index.c:81:11: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
ntohl(entries[i].crc));
^
LINK git-show-index
CC upload-pack.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from upload-pack.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from upload-pack.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from upload-pack.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from upload-pack.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from upload-pack.c:7:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from upload-pack.c:9:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from upload-pack.c:10:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from cache.h:4:0,
from upload-pack.c:1:
upload-pack.c: In function 'create_pack_file':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
upload-pack.c:173:5: note: in expansion of macro 'error'
error("poll failed, resuming: %s",
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
upload-pack.c:251:3: note: in expansion of macro 'error'
error("git upload-pack: git-pack-objects died with error.");
^
LINK git-upload-pack
CC remote-testsvn.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from remote-testsvn.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from remote-testsvn.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from remote-testsvn.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from remote-testsvn.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from remote-testsvn.c:2:0:
remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from cache.h:4:0,
from remote-testsvn.c:1:
remote-testsvn.c: In function 'read_ref_note':
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote-testsvn.c:64:3: note: in expansion of macro 'error'
error("Empty notes tree. %s", notes_ref);
^
git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
remote-testsvn.c:66:3: note: in expansion of macro 'error'
error("Note contains unusable content. "
^
CC vcs-svn/line_buffer.o
In file included from ./git-compat-util.h:302:0,
from vcs-svn/line_buffer.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from vcs-svn/line_buffer.c:6:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC vcs-svn/sliding_window.o
In file included from ./git-compat-util.h:302:0,
from vcs-svn/sliding_window.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from vcs-svn/sliding_window.c:6:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
vcs-svn/sliding_window.c: In function 'check_offset_overflow':
vcs-svn/sliding_window.c:37:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("unrepresentable length in delta: "
^
vcs-svn/sliding_window.c:40:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("unrepresentable offset in delta: "
^
vcs-svn/sliding_window.c:40:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
CC vcs-svn/repo_tree.o
In file included from ./git-compat-util.h:302:0,
from vcs-svn/repo_tree.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from vcs-svn/repo_tree.c:6:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
CC vcs-svn/fast_export.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from vcs-svn/fast_export.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from vcs-svn/fast_export.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from vcs-svn/fast_export.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from vcs-svn/fast_export.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
vcs-svn/fast_export.c: In function 'fast_export_begin_note':
vcs-svn/fast_export.c:77:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
printf("data %"PRIuMAX"\n", (uintmax_t)loglen);
^
vcs-svn/fast_export.c: In function 'fast_export_begin_commit':
vcs-svn/fast_export.c:115:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
(uintmax_t) (log->len + strlen(gitsvnline)));
^
vcs-svn/fast_export.c: In function 'fast_export_buf_to_data':
vcs-svn/fast_export.c:239:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
printf("data %"PRIuMAX"\n", (uintmax_t)data->len);
^
vcs-svn/fast_export.c: In function 'fast_export_data':
vcs-svn/fast_export.c:255:2: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
printf("data %"PRIuMAX"\n", (uintmax_t) len);
^
CC vcs-svn/svndiff.o
In file included from ./git-compat-util.h:302:0,
from vcs-svn/svndiff.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from vcs-svn/svndiff.c:6:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
vcs-svn/svndiff.c: In function 'read_offset':
vcs-svn/svndiff.c:152:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("unrepresentable offset in delta: %"PRIuMAX"", val);
^
vcs-svn/svndiff.c: In function 'read_length':
vcs-svn/svndiff.c:163:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("unrepresentable length in delta: %"PRIuMAX"", val);
^
vcs-svn/svndiff.c: In function 'apply_one_window':
vcs-svn/svndiff.c:263:9: warning: initializer element is not computable at load time
struct window ctx = WINDOW_INIT(preimage);
^
CC vcs-svn/svndump.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from vcs-svn/svndump.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from vcs-svn/svndump.c:10:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from vcs-svn/svndump.c:10:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from vcs-svn/svndump.c:10:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
AR vcs-svn/lib.a
LINK git-remote-testsvn
CC credential-cache.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from credential-cache.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from credential-cache.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from credential-cache.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from credential-cache.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
credential-cache.c: In function 'main':
credential-cache.c:96:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "timeout", &timeout,
^
credential-cache.c:96:3: warning: initializer element is not computable at load time
credential-cache.c:98:3: warning: initializer element is not computable at load time
OPT_STRING(0, "socket", &socket_path, "path",
^
credential-cache.c:98:3: warning: initializer element is not computable at load time
LINK git-credential-cache
CC credential-cache--daemon.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from credential-cache--daemon.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from credential-cache--daemon.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from credential-cache--daemon.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from credential-cache--daemon.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK git-credential-cache--daemon
* new script parameters
GEN git-am
GEN git-bisect
GEN git-difftool--helper
GEN git-filter-branch
GEN git-merge-octopus
GEN git-merge-one-file
GEN git-merge-resolve
GEN git-mergetool
GEN git-pull
GEN git-quiltimport
GEN git-rebase
GEN git-request-pull
GEN git-stash
GEN git-submodule
GEN git-web--browse
GEN perl/PM.stamp
SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/sbuild-nonexistent' INSTALL_BASE='' --localedir='/sbuild-nonexistent/share/locale'
Generating a Unix-style perl.mak
Writing perl.mak for Git
Writing MYMETA.yml and MYMETA.json
* new perl-specific parameters
GEN git-add--interactive
GEN git-difftool
GEN git-archimport
GEN git-cvsexportcommit
GEN git-cvsimport
GEN git-cvsserver
GEN git-relink
GEN git-send-email
GEN git-svn
* new Python interpreter location
GEN git-p4
SUBDIR gitweb
SUBDIR ../
make[6]: 'GIT-VERSION-FILE' is up to date.
GEN gitweb.cgi
GEN static/gitweb.js
GEN git-instaweb
GEN git-mergetool--lib
GEN git-parse-remote
GEN git-rebase--am
GEN git-rebase--interactive
GEN git-rebase--merge
GEN git-sh-setup
GEN git-sh-i18n
CC git.o
In file included from git-compat-util.h:302:0,
from builtin.h:4,
from git.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from builtin.h:4:0,
from git.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin.h:6:0,
from git.c:1:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:6:0,
from git.c:1:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin.h:7:0,
from git.c:1:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from git.c:4:0:
help.h:9:8: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
CC builtin/add.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/add.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/add.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/add.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/add.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/add.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/add.c:8:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/add.c:11:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/add.c:14:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/add.c:16:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC builtin/annotate.o
In file included from ./git-compat-util.h:302:0,
from builtin/annotate.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from builtin/annotate.c:6:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/annotate.c:7:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/annotate.c:7:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/annotate.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/apply.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/apply.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/apply.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/apply.c:9:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/apply.c:9:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/apply.c:10:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from ./builtin.h:7:0,
from builtin/apply.c:14:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/apply.c:16:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/apply.c:17:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./cache.h:4:0,
from builtin/apply.c:9:
builtin/apply.c: In function 'parse_binary_hunk':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/apply.c:1873:2: note: in expansion of macro 'error'
error(_("corrupt binary patch at line %d: %.*s"),
^
builtin/apply.c: In function 'apply_one_fragment':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/apply.c:2690:5: note: in expansion of macro 'error'
error(_("invalid start of line: '%c'"), first);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/apply.c:2826:4: note: in expansion of macro 'error'
error(_("while searching for:\n%.*s"),
^
builtin/apply.c: In function 'apply_fragments':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/apply.c:2975:4: note: in expansion of macro 'error'
error(_("patch failed: %s:%ld"), name, frag->oldpos);
^
builtin/apply.c: In function 'cmd_apply':
builtin/apply.c:4384:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "apply", &force_apply,
^
builtin/apply.c:4384:3: warning: initializer element is not computable at load time
builtin/apply.c:4395:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "whitespace", &whitespace_option, N_("action"),
^
builtin/apply.c:4397:4: warning: initializer element is not computable at load time
0, option_parse_whitespace },
^
CC builtin/archive.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/archive.c:5:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/archive.c:5:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/archive.c:5:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/archive.c:5:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/archive.c:6:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./transport.h:6:0,
from builtin/archive.c:8:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/archive.c: In function 'cmd_archive':
builtin/archive.c:88:3: warning: initializer element is not computable at load time
OPT_STRING('o', "output", &output, N_("file"),
^
builtin/archive.c:88:3: warning: initializer element is not computable at load time
builtin/archive.c:90:3: warning: initializer element is not computable at load time
OPT_STRING(0, "remote", &remote, N_("repo"),
^
builtin/archive.c:90:3: warning: initializer element is not computable at load time
builtin/archive.c:92:3: warning: initializer element is not computable at load time
OPT_STRING(0, "exec", &exec, N_("command"),
^
builtin/archive.c:92:3: warning: initializer element is not computable at load time
CC builtin/bisect--helper.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/bisect--helper.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/bisect--helper.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/bisect--helper.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/bisect--helper.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/bisect--helper.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/bisect--helper.c: In function 'cmd_bisect__helper':
builtin/bisect--helper.c:16:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "next-all", &next_all,
^
builtin/bisect--helper.c:16:3: warning: initializer element is not computable at load time
builtin/bisect--helper.c:18:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "no-checkout", &no_checkout,
^
builtin/bisect--helper.c:18:3: warning: initializer element is not computable at load time
CC builtin/blame.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/blame.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/blame.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/blame.c:7:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/blame.c:7:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/blame.c:8:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/blame.c:13:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/blame.c:15:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/blame.c:18:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/blame.c:91:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char path[FLEX_ARRAY];
^
CC builtin/branch.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/branch.c:8:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/branch.c:8:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/branch.c:8:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/branch.c:8:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/branch.c:11:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/branch.c:13:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/branch.c:16:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/branch.c:17:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./cache.h:4:0,
from builtin/branch.c:8:
builtin/branch.c: In function 'check_branch_commit':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/branch.c:168:3: note: in expansion of macro 'error'
error(_("Couldn't look up commit object for '%s'"), refname);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/branch.c:172:3: note: in expansion of macro 'error'
error(_("The branch '%s' is not fully merged.\n"
^
builtin/branch.c: In function 'delete_branches':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/branch.c:227:4: note: in expansion of macro 'error'
error(_("Cannot delete the branch '%s' "
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/branch.c:239:4: note: in expansion of macro 'error'
error(remote_branch
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/branch.c:254:4: note: in expansion of macro 'error'
error(remote_branch
^
builtin/branch.c: In function 'print_ref_list':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/branch.c:681:3: note: in expansion of macro 'error'
error(_("some refs could not be read"));
^
builtin/branch.c: In function 'cmd_branch':
builtin/branch.c:804:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose,
^
builtin/branch.c:804:3: warning: initializer element is not computable at load time
builtin/branch.c:806:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("suppress informational messages")),
^
builtin/branch.c:806:3: warning: initializer element is not computable at load time
builtin/branch.c:807:3: warning: initializer element is not computable at load time
OPT_SET_INT('t', "track", &track, N_("set up tracking mode (see git-pull(1))"),
^
builtin/branch.c:807:3: warning: initializer element is not computable at load time
builtin/branch.c:809:3: warning: initializer element is not computable at load time
OPT_SET_INT( 0, "set-upstream", &track, N_("change upstream info"),
^
builtin/branch.c:809:3: warning: initializer element is not computable at load time
builtin/branch.c:811:3: warning: initializer element is not computable at load time
OPT_STRING('u', "set-upstream-to", &new_upstream, "upstream", "change the upstream info"),
^
builtin/branch.c:811:3: warning: initializer element is not computable at load time
builtin/branch.c:812:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "unset-upstream", &unset_upstream, "Unset the upstream info"),
^
builtin/branch.c:812:3: warning: initializer element is not computable at load time
builtin/branch.c:814:3: warning: initializer element is not computable at load time
OPT_SET_INT('r', "remotes", &kinds, N_("act on remote-tracking branches"),
^
builtin/branch.c:814:3: warning: initializer element is not computable at load time
builtin/branch.c:817:4: warning: initializer element is not computable at load time
OPTION_CALLBACK, 0, "contains", &with_commit, N_("commit"),
^
builtin/branch.c:821:3: warning: initializer element is not computable at load time
},
^
builtin/branch.c:823:4: warning: initializer element is not computable at load time
OPTION_CALLBACK, 0, "with", &with_commit, N_("commit"),
^
builtin/branch.c:827:3: warning: initializer element is not computable at load time
},
^
builtin/branch.c:828:3: warning: initializer element is not computable at load time
OPT__ABBREV(&abbrev),
^
builtin/branch.c:828:3: warning: initializer element is not computable at load time
builtin/branch.c:831:3: warning: initializer element is not computable at load time
OPT_SET_INT('a', "all", &kinds, N_("list both remote-tracking and local branches"),
^
builtin/branch.c:831:3: warning: initializer element is not computable at load time
builtin/branch.c:833:3: warning: initializer element is not computable at load time
OPT_BIT('d', "delete", &delete, N_("delete fully merged branch"), 1),
^
builtin/branch.c:833:3: warning: initializer element is not computable at load time
builtin/branch.c:834:3: warning: initializer element is not computable at load time
OPT_BIT('D', NULL, &delete, N_("delete branch (even if not merged)"), 2),
^
builtin/branch.c:834:3: warning: initializer element is not computable at load time
builtin/branch.c:835:3: warning: initializer element is not computable at load time
OPT_BIT('m', "move", &rename, N_("move/rename a branch and its reflog"), 1),
^
builtin/branch.c:835:3: warning: initializer element is not computable at load time
builtin/branch.c:836:3: warning: initializer element is not computable at load time
OPT_BIT('M', NULL, &rename, N_("move/rename a branch, even if target exists"), 2),
^
builtin/branch.c:836:3: warning: initializer element is not computable at load time
builtin/branch.c:837:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "list", &list, N_("list branch names")),
^
builtin/branch.c:837:3: warning: initializer element is not computable at load time
builtin/branch.c:838:3: warning: initializer element is not computable at load time
OPT_BOOL('l', "create-reflog", &reflog, N_("create the branch's reflog")),
^
builtin/branch.c:838:3: warning: initializer element is not computable at load time
builtin/branch.c:839:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "edit-description", &edit_description,
^
builtin/branch.c:839:3: warning: initializer element is not computable at load time
builtin/branch.c:841:3: warning: initializer element is not computable at load time
OPT__FORCE(&force_create, N_("force creation (when already exists)")),
^
builtin/branch.c:841:3: warning: initializer element is not computable at load time
CC builtin/bundle.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/bundle.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/bundle.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/bundle.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/bundle.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/bundle.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/cat-file.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/cat-file.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/cat-file.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/cat-file.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/cat-file.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/cat-file.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/cat-file.c:12:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
builtin/cat-file.c: In function 'cmd_cat_file':
builtin/cat-file.c:370:3: warning: initializer element is not computable at load time
OPT_SET_INT('t', NULL, &opt, N_("show object type"), 't'),
^
builtin/cat-file.c:370:3: warning: initializer element is not computable at load time
builtin/cat-file.c:371:3: warning: initializer element is not computable at load time
OPT_SET_INT('s', NULL, &opt, N_("show object size"), 's'),
^
builtin/cat-file.c:371:3: warning: initializer element is not computable at load time
builtin/cat-file.c:372:3: warning: initializer element is not computable at load time
OPT_SET_INT('e', NULL, &opt,
^
builtin/cat-file.c:372:3: warning: initializer element is not computable at load time
builtin/cat-file.c:374:3: warning: initializer element is not computable at load time
OPT_SET_INT('p', NULL, &opt, N_("pretty-print object's content"), 'p'),
^
builtin/cat-file.c:374:3: warning: initializer element is not computable at load time
builtin/cat-file.c:375:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "textconv", &opt,
^
builtin/cat-file.c:375:3: warning: initializer element is not computable at load time
builtin/cat-file.c:377:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "batch", &batch, "format",
^
builtin/cat-file.c:379:4: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, batch_option_callback },
^
builtin/cat-file.c:380:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "batch-check", &batch, "format",
^
builtin/cat-file.c:382:4: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, batch_option_callback },
^
CC builtin/check-attr.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/check-attr.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/check-attr.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/check-attr.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/check-attr.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/check-attr.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/check-attr.c:1:
builtin/check-attr.c: In function 'error_with_usage':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/check-attr.c:96:2: note: in expansion of macro 'error'
error("%s", msg);
^
CC builtin/check-ignore.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/check-ignore.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/check-ignore.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/check-ignore.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/check-ignore.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/check-ignore.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/check-ignore.c:3:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/check-mailmap.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/check-mailmap.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/check-mailmap.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/check-mailmap.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/check-mailmap.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/check-mailmap.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/check-ref-format.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/check-ref-format.c:5:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/check-ref-format.c:5:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/check-ref-format.c:5:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/check-ref-format.c:5:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/check-ref-format.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/checkout-index.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/checkout-index.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/checkout-index.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/checkout-index.c:7:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/checkout-index.c:7:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/checkout-index.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/checkout-index.c:10:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/checkout-index.c: In function 'cmd_checkout_index':
builtin/checkout-index.c:186:3: warning: initializer element is not computable at load time
OPT_BOOL('a', "all", &all,
^
builtin/checkout-index.c:186:3: warning: initializer element is not computable at load time
builtin/checkout-index.c:188:3: warning: initializer element is not computable at load time
OPT__FORCE(&force, N_("force overwrite of existing files")),
^
builtin/checkout-index.c:188:3: warning: initializer element is not computable at load time
builtin/checkout-index.c:189:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet,
^
builtin/checkout-index.c:189:3: warning: initializer element is not computable at load time
builtin/checkout-index.c:191:3: warning: initializer element is not computable at load time
OPT_BOOL('n', "no-create", ¬_new,
^
builtin/checkout-index.c:191:3: warning: initializer element is not computable at load time
builtin/checkout-index.c:193:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'u', "index", &newfd, NULL,
^
builtin/checkout-index.c:195:4: warning: initializer element is not computable at load time
PARSE_OPT_NOARG, option_parse_u },
^
builtin/checkout-index.c:199:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "stdin", &read_from_stdin,
^
builtin/checkout-index.c:199:3: warning: initializer element is not computable at load time
CC builtin/checkout.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/checkout.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/checkout.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/checkout.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/checkout.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/checkout.c:2:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/checkout.c:8:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/checkout.c:10:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/checkout.c:14:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/checkout.c:15:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/checkout.c:16:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/checkout.c:1:
builtin/checkout.c: In function 'checkout_paths':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/checkout.c:328:5: note: in expansion of macro 'error'
error(_("path '%s' is unmerged"), ce->name);
^
builtin/checkout.c: In function 'merge_working_tree':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/checkout.c:472:4: note: in expansion of macro 'error'
error(_("you need to resolve your current index first"));
^
builtin/checkout.c: In function 'cmd_checkout':
builtin/checkout.c:1089:3: warning: initializer element is not computable at load time
OPT__QUIET(&opts.quiet, N_("suppress progress reporting")),
^
builtin/checkout.c:1089:3: warning: initializer element is not computable at load time
builtin/checkout.c:1090:3: warning: initializer element is not computable at load time
OPT_STRING('b', NULL, &opts.new_branch, N_("branch"),
^
builtin/checkout.c:1090:3: warning: initializer element is not computable at load time
builtin/checkout.c:1092:3: warning: initializer element is not computable at load time
OPT_STRING('B', NULL, &opts.new_branch_force, N_("branch"),
^
builtin/checkout.c:1092:3: warning: initializer element is not computable at load time
builtin/checkout.c:1094:3: warning: initializer element is not computable at load time
OPT_BOOL('l', NULL, &opts.new_branch_log, N_("create reflog for new branch")),
^
builtin/checkout.c:1094:3: warning: initializer element is not computable at load time
builtin/checkout.c:1095:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "detach", &opts.force_detach, N_("detach the HEAD at named commit")),
^
builtin/checkout.c:1095:3: warning: initializer element is not computable at load time
builtin/checkout.c:1096:3: warning: initializer element is not computable at load time
OPT_SET_INT('t', "track", &opts.track, N_("set upstream info for new branch"),
^
builtin/checkout.c:1096:3: warning: initializer element is not computable at load time
builtin/checkout.c:1098:3: warning: initializer element is not computable at load time
OPT_STRING(0, "orphan", &opts.new_orphan_branch, N_("new-branch"), N_("new unparented branch")),
^
builtin/checkout.c:1098:3: warning: initializer element is not computable at load time
builtin/checkout.c:1099:3: warning: initializer element is not computable at load time
OPT_SET_INT('2', "ours", &opts.writeout_stage, N_("checkout our version for unmerged files"),
^
builtin/checkout.c:1099:3: warning: initializer element is not computable at load time
builtin/checkout.c:1101:3: warning: initializer element is not computable at load time
OPT_SET_INT('3', "theirs", &opts.writeout_stage, N_("checkout their version for unmerged files"),
^
builtin/checkout.c:1101:3: warning: initializer element is not computable at load time
builtin/checkout.c:1103:3: warning: initializer element is not computable at load time
OPT__FORCE(&opts.force, N_("force checkout (throw away local modifications)")),
^
builtin/checkout.c:1103:3: warning: initializer element is not computable at load time
builtin/checkout.c:1104:3: warning: initializer element is not computable at load time
OPT_BOOL('m', "merge", &opts.merge, N_("perform a 3-way merge with the new branch")),
^
builtin/checkout.c:1104:3: warning: initializer element is not computable at load time
builtin/checkout.c:1105:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "overwrite-ignore", &opts.overwrite_ignore, N_("update ignored files (default)")),
^
builtin/checkout.c:1105:3: warning: initializer element is not computable at load time
builtin/checkout.c:1106:3: warning: initializer element is not computable at load time
OPT_STRING(0, "conflict", &conflict_style, N_("style"),
^
builtin/checkout.c:1106:3: warning: initializer element is not computable at load time
builtin/checkout.c:1108:3: warning: initializer element is not computable at load time
OPT_BOOL('p', "patch", &opts.patch_mode, N_("select hunks interactively")),
^
builtin/checkout.c:1108:3: warning: initializer element is not computable at load time
builtin/checkout.c:1109:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "ignore-skip-worktree-bits", &opts.ignore_skipworktree,
^
builtin/checkout.c:1109:3: warning: initializer element is not computable at load time
builtin/checkout.c:1111:3: warning: initializer element is not computable at load time
OPT_HIDDEN_BOOL(0, "guess", &dwim_new_local_branch,
^
builtin/checkout.c:1111:3: warning: initializer element is not computable at load time
CC builtin/clean.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/clean.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/clean.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/clean.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/clean.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/clean.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/clean.c:11:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/clean.c:51:23: warning: comma at end of enumerator list [-Wpedantic]
CLEAN_COLOR_ERROR = 5,
^
builtin/clean.c: In function 'cmd_clean':
builtin/clean.c:875:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("do not print names of files removed")),
^
builtin/clean.c:875:3: warning: initializer element is not computable at load time
builtin/clean.c:876:3: warning: initializer element is not computable at load time
OPT__DRY_RUN(&dry_run, N_("dry run")),
^
builtin/clean.c:876:3: warning: initializer element is not computable at load time
builtin/clean.c:879:3: warning: initializer element is not computable at load time
OPT_BOOL('d', NULL, &remove_directories,
^
builtin/clean.c:879:3: warning: initializer element is not computable at load time
builtin/clean.c:881:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'e', "exclude", &exclude_list, N_("pattern"),
^
builtin/clean.c:882:5: warning: initializer element is not computable at load time
N_("add <pattern> to ignore rules"), PARSE_OPT_NONEG, exclude_cb },
^
builtin/clean.c:883:3: warning: initializer element is not computable at load time
OPT_BOOL('x', NULL, &ignored, N_("remove ignored files, too")),
^
builtin/clean.c:883:3: warning: initializer element is not computable at load time
builtin/clean.c:884:3: warning: initializer element is not computable at load time
OPT_BOOL('X', NULL, &ignored_only,
^
builtin/clean.c:884:3: warning: initializer element is not computable at load time
CC builtin/clone.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/clone.c:11:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/clone.c:11:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/clone.c:11:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/clone.c:11:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/clone.c:11:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./transport.h:6:0,
from builtin/clone.c:18:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/clone.c:20:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/column.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/column.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/column.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/column.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/column.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/column.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/column.c: In function 'cmd_column':
builtin/column.c:26:3: warning: initializer element is not computable at load time
OPT_STRING(0, "command", &real_command, N_("name"), N_("lookup config vars")),
^
builtin/column.c:26:3: warning: initializer element is not computable at load time
builtin/column.c:29:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "width", &copts.width, N_("Maximum width")),
^
builtin/column.c:29:3: warning: initializer element is not computable at load time
builtin/column.c:30:3: warning: initializer element is not computable at load time
OPT_STRING(0, "indent", &copts.indent, N_("string"), N_("Padding space on left border")),
^
builtin/column.c:30:3: warning: initializer element is not computable at load time
builtin/column.c:31:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "nl", &copts.nl, N_("Padding space on right border")),
^
builtin/column.c:31:3: warning: initializer element is not computable at load time
builtin/column.c:32:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "padding", &copts.padding, N_("Padding space between columns")),
^
builtin/column.c:32:3: warning: initializer element is not computable at load time
CC builtin/commit-tree.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/commit-tree.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/commit-tree.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/commit-tree.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/commit-tree.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/commit-tree.c:7:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/commit-tree.c:6:
builtin/commit-tree.c: In function 'new_parent':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/commit-tree.c:23:4: note: in expansion of macro 'error'
error("duplicate parent %s ignored", sha1_to_hex(sha1));
^
CC builtin/commit.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/commit.c:8:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/commit.c:8:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/commit.c:8:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/commit.c:8:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/commit.c:9:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/commit.c:11:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/commit.c:12:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/commit.c:13:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/commit.c:16:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
builtin/commit.c: In function 'prepare_index':
builtin/commit.c:444:7: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
(uintmax_t) getpid()),
^
builtin/commit.c: In function 'prepare_to_commit':
builtin/commit.c:814:4: warning: zero-length gnu_printf format string [-Wformat-zero-length]
status_printf_ln(s, GIT_COLOR_NORMAL, "");
^
In file included from ./cache.h:4:0,
from builtin/commit.c:8:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/commit.c:885:3: note: in expansion of macro 'error'
error(_("Error building trees"));
^
CC builtin/config.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/config.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/config.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/config.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/config.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/config.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/config.c:1:
builtin/config.c: In function 'check_argc':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/config.c:88:2: note: in expansion of macro 'error'
error("wrong number of arguments");
^
builtin/config.c: In function 'format_config':
builtin/config.c:122:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
git_config_int64(key_, value_ ? value_ : ""));
^
builtin/config.c: In function 'normalize_value':
builtin/config.c:271:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
sprintf(normalized, "%"PRId64, v);
^
In file included from ./builtin.h:6:0,
from builtin/config.c:1:
builtin/config.c: In function 'git_get_color_config':
./cache.h:1276:57: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define config_error_nonbool(s) (config_error_nonbool(s), -1)
^
builtin/config.c:298:4: note: in expansion of macro 'config_error_nonbool'
config_error_nonbool(var);
^
In file included from ./builtin.h:4:0,
from builtin/config.c:1:
builtin/config.c: In function 'cmd_config':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/config.c:474:3: note: in expansion of macro 'error'
error("only one config file at a time.");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/config.c:527:3: note: in expansion of macro 'error'
error("only one type at a time.");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/config.c:537:3: note: in expansion of macro 'error'
error("--get-color and variable type are incoherent");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/config.c:542:3: note: in expansion of macro 'error'
error("only one action at a time.");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/config.c:586:4: note: in expansion of macro 'error'
error("cannot overwrite multiple values with a single value\n"
^
CC builtin/count-objects.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/count-objects.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/count-objects.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/count-objects.c:7:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/count-objects.c:7:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/count-objects.c:8:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/count-objects.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/count-objects.c: In function 'cmd_count_objects':
builtin/count-objects.c:95:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose, N_("be verbose")),
^
builtin/count-objects.c:95:3: warning: initializer element is not computable at load time
builtin/count-objects.c:96:3: warning: initializer element is not computable at load time
OPT_BOOL('H', "human-readable", &human_readable,
^
builtin/count-objects.c:96:3: warning: initializer element is not computable at load time
CC builtin/credential.o
In file included from ./git-compat-util.h:302:0,
from builtin/credential.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from builtin/credential.c:1:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/credential.c:3:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/credential.c:3:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/credential.c:3:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/describe.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/describe.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/describe.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/describe.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/describe.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/describe.c:2:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/describe.c:8:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
builtin/describe.c: In function 'cmd_describe':
builtin/describe.c:404:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "contains", &contains, N_("find the tag that comes after the commit")),
^
builtin/describe.c:404:3: warning: initializer element is not computable at load time
CC builtin/diff-files.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/diff-files.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/diff-files.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/diff-files.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff-files.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff-files.c:7:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from builtin/diff-files.c:8:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./revision.h:5:0,
from builtin/diff-files.c:9:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
builtin/diff-files.c:15:1: warning: string length '1270' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
COMMON_DIFF_OPTIONS_HELP;
^
CC builtin/diff-index.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/diff-index.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/diff-index.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/diff-index.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff-index.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff-index.c:2:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from builtin/diff-index.c:3:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./revision.h:5:0,
from builtin/diff-index.c:4:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
builtin/diff-index.c:11:1: warning: string length '1271' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
COMMON_DIFF_OPTIONS_HELP;
^
CC builtin/diff-tree.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/diff-tree.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/diff-tree.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/diff-tree.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff-tree.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff-tree.c:2:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from builtin/diff-tree.c:3:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./revision.h:5:0,
from ./log-tree.h:4,
from builtin/diff-tree.c:4:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./cache.h:4:0,
from builtin/diff-tree.c:1:
builtin/diff-tree.c: In function 'diff_tree_stdin':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/diff-tree.c:84:2: note: in expansion of macro 'error'
error("Object %s is a %s, not a commit or tree",
^
builtin/diff-tree.c: At top level:
builtin/diff-tree.c:94:1: warning: string length '1437' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
COMMON_DIFF_OPTIONS_HELP;
^
CC builtin/diff.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/diff.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/diff.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/diff.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/diff.c:8:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/diff.c:11:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/diff.c:13:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
CC builtin/fast-export.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/fast-export.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/fast-export.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/fast-export.c:6:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/fast-export.c:6:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/fast-export.c:6:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/fast-export.c:11:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from ./log-tree.h:4,
from builtin/fast-export.c:13:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./builtin.h:4:0,
from builtin/fast-export.c:6:
builtin/fast-export.c: In function 'export_marks':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fast-export.c:609:3: note: in expansion of macro 'error'
error("Unable to write marks file %s.", file);
^
builtin/fast-export.c: In function 'import_marks':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fast-export.c:655:4: note: in expansion of macro 'error'
error("Object %s already has a mark", sha1_to_hex(sha1));
^
builtin/fast-export.c: In function 'cmd_fast_export':
builtin/fast-export.c:680:3: warning: initializer element is not computable at load time
OPT_STRING(0, "export-marks", &export_filename, N_("file"),
^
builtin/fast-export.c:680:3: warning: initializer element is not computable at load time
builtin/fast-export.c:682:3: warning: initializer element is not computable at load time
OPT_STRING(0, "import-marks", &import_filename, N_("file"),
^
builtin/fast-export.c:682:3: warning: initializer element is not computable at load time
CC builtin/fetch-pack.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/fetch-pack.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/fetch-pack.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/fetch-pack.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/fetch-pack.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/fetch-pack.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/fetch-pack.c:4:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/fetch-pack.c:1:
builtin/fetch-pack.c: In function 'cmd_fetch_pack':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fetch-pack.c:207:3: note: in expansion of macro 'error'
error("no such remote ref %s", sought[i]->name);
^
CC builtin/fetch.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/fetch.c:4:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/fetch.c:4:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/fetch.c:4:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/fetch.c:4:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/fetch.c:6:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/fetch.c:9:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/fetch.c:4:
builtin/fetch.c: In function 'store_updated_refs':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fetch.c:678:3: note: in expansion of macro 'error'
error(_("some local refs could not be updated; try running\n"
^
builtin/fetch.c: In function 'fetch_multiple':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fetch.c:1017:4: note: in expansion of macro 'error'
error(_("Could not fetch %s"), name);
^
CC builtin/fmt-merge-msg.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/fmt-merge-msg.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/fmt-merge-msg.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/fmt-merge-msg.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/fmt-merge-msg.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/fmt-merge-msg.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/fmt-merge-msg.c:4:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/fmt-merge-msg.c:5:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
builtin/fmt-merge-msg.c: In function 'cmd_fmt_merge_msg':
builtin/fmt-merge-msg.c:663:3: warning: initializer element is not computable at load time
{ OPTION_INTEGER, 0, "log", &shortlog_len, N_("n"),
^
builtin/fmt-merge-msg.c:665:5: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, NULL, DEFAULT_MERGE_LOG_LEN },
^
builtin/fmt-merge-msg.c:666:3: warning: initializer element is not computable at load time
{ OPTION_INTEGER, 0, "summary", &shortlog_len, N_("n"),
^
builtin/fmt-merge-msg.c:669:5: warning: initializer element is not computable at load time
DEFAULT_MERGE_LOG_LEN },
^
builtin/fmt-merge-msg.c:670:3: warning: initializer element is not computable at load time
OPT_STRING('m', "message", &message, N_("text"),
^
builtin/fmt-merge-msg.c:670:3: warning: initializer element is not computable at load time
builtin/fmt-merge-msg.c:672:3: warning: initializer element is not computable at load time
OPT_FILENAME('F', "file", &inpath, N_("file to read from")),
^
builtin/fmt-merge-msg.c:672:3: warning: initializer element is not computable at load time
CC builtin/for-each-ref.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/for-each-ref.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/for-each-ref.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/for-each-ref.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/for-each-ref.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/for-each-ref.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/for-each-ref.c:11:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/for-each-ref.c: In function 'cmd_for_each_ref':
builtin/for-each-ref.c:1077:3: warning: initializer element is not computable at load time
OPT_BIT('s', "shell", "e_style,
^
builtin/for-each-ref.c:1077:3: warning: initializer element is not computable at load time
builtin/for-each-ref.c:1079:3: warning: initializer element is not computable at load time
OPT_BIT('p', "perl", "e_style,
^
builtin/for-each-ref.c:1079:3: warning: initializer element is not computable at load time
builtin/for-each-ref.c:1081:3: warning: initializer element is not computable at load time
OPT_BIT(0 , "python", "e_style,
^
builtin/for-each-ref.c:1081:3: warning: initializer element is not computable at load time
builtin/for-each-ref.c:1083:3: warning: initializer element is not computable at load time
OPT_BIT(0 , "tcl", "e_style,
^
builtin/for-each-ref.c:1083:3: warning: initializer element is not computable at load time
builtin/for-each-ref.c:1087:3: warning: initializer element is not computable at load time
OPT_INTEGER( 0 , "count", &maxcount, N_("show only <n> matched refs")),
^
builtin/for-each-ref.c:1087:3: warning: initializer element is not computable at load time
builtin/for-each-ref.c:1088:3: warning: initializer element is not computable at load time
OPT_STRING( 0 , "format", &format, N_("format"), N_("format to use for the output")),
^
builtin/for-each-ref.c:1088:3: warning: initializer element is not computable at load time
builtin/for-each-ref.c:1089:3: warning: initializer element is not computable at load time
OPT_CALLBACK(0 , "sort", sort_tail, N_("key"),
^
builtin/for-each-ref.c:1089:3: warning: initializer element is not computable at load time
In file included from ./builtin.h:4:0,
from builtin/for-each-ref.c:1:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/for-each-ref.c:1096:3: note: in expansion of macro 'error'
error("invalid --count argument: `%d'", maxcount);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/for-each-ref.c:1100:3: note: in expansion of macro 'error'
error("more than one quoting style?");
^
CC builtin/fsck.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/fsck.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/fsck.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/fsck.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/fsck.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/fsck.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/fsck.c:9:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/fsck.c:13:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/fsck.c:1:
builtin/fsck.c: In function 'check_unreachable_object':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fsck.c:234:5: note: in expansion of macro 'error'
error("Could not create lost-found");
^
builtin/fsck.c: In function 'fsck_handle_ref':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fsck.c:496:3: note: in expansion of macro 'error'
error("%s: invalid sha1 pointer %s", refname, sha1_to_hex(sha1));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fsck.c:501:3: note: in expansion of macro 'error'
error("%s: not a commit", refname);
^
builtin/fsck.c: In function 'fsck_cache_tree':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fsck.c:592:4: note: in expansion of macro 'error'
error("%s: invalid sha1 pointer in cache-tree",
^
builtin/fsck.c: In function 'cmd_fsck':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/fsck.c:701:3: note: in expansion of macro 'error'
error("invalid parameter: expected sha1, got '%s'", arg);
^
CC builtin/gc.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/gc.c:13:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/gc.c:13:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/gc.c:13:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/gc.c:13:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/gc.c:13:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/gc.c: In function 'lock_repo_for_gc':
builtin/gc.c:236:4: warning: ISO C90 does not support the 'll' gnu_scanf length modifier [-Wformat=]
fscanf(fp, "%"PRIuMAX" %127c", &pid, locking_host) == 2 &&
^
builtin/gc.c:250:7: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
(uintmax_t) getpid(), my_host);
^
builtin/gc.c: In function 'cmd_gc':
builtin/gc.c:285:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("suppress progress reporting")),
^
builtin/gc.c:285:3: warning: initializer element is not computable at load time
builtin/gc.c:288:4: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, NULL, (intptr_t)prune_expire },
^
builtin/gc.c:288:4: warning: initializer element is not computable at load time
builtin/gc.c:289:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "aggressive", &aggressive, N_("be more thorough (increased runtime)")),
^
builtin/gc.c:289:3: warning: initializer element is not computable at load time
builtin/gc.c:290:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "auto", &auto_gc, N_("enable auto-gc mode")),
^
builtin/gc.c:290:3: warning: initializer element is not computable at load time
builtin/gc.c:291:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "force", &force, N_("force running gc even if there may be another gc running")),
^
builtin/gc.c:291:3: warning: initializer element is not computable at load time
builtin/gc.c:354:7: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
name, (uintmax_t)pid);
^
CC builtin/get-tar-commit-id.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/get-tar-commit-id.c:4:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/get-tar-commit-id.c:4:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/get-tar-commit-id.c:4:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/get-tar-commit-id.c:4:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/get-tar-commit-id.c:5:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/grep.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/grep.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/grep.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/grep.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/grep.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/grep.c:9:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/grep.c:17:0:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/grep.c:19:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/grep.c: In function 'cmd_grep':
builtin/grep.c:639:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "cached", &cached,
^
builtin/grep.c:639:3: warning: initializer element is not computable at load time
builtin/grep.c:641:3: warning: initializer element is not computable at load time
OPT_NEGBIT(0, "no-index", &use_index,
^
builtin/grep.c:641:3: warning: initializer element is not computable at load time
builtin/grep.c:643:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "untracked", &untracked,
^
builtin/grep.c:643:3: warning: initializer element is not computable at load time
builtin/grep.c:645:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "exclude-standard", &opt_exclude,
^
builtin/grep.c:645:3: warning: initializer element is not computable at load time
builtin/grep.c:648:3: warning: initializer element is not computable at load time
OPT_BOOL('v', "invert-match", &opt.invert,
^
builtin/grep.c:648:3: warning: initializer element is not computable at load time
builtin/grep.c:650:3: warning: initializer element is not computable at load time
OPT_BOOL('i', "ignore-case", &opt.ignore_case,
^
builtin/grep.c:650:3: warning: initializer element is not computable at load time
builtin/grep.c:652:3: warning: initializer element is not computable at load time
OPT_BOOL('w', "word-regexp", &opt.word_regexp,
^
builtin/grep.c:652:3: warning: initializer element is not computable at load time
builtin/grep.c:654:3: warning: initializer element is not computable at load time
OPT_SET_INT('a', "text", &opt.binary,
^
builtin/grep.c:654:3: warning: initializer element is not computable at load time
builtin/grep.c:656:3: warning: initializer element is not computable at load time
OPT_SET_INT('I', NULL, &opt.binary,
^
builtin/grep.c:656:3: warning: initializer element is not computable at load time
builtin/grep.c:659:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "textconv", &opt.allow_textconv,
^
builtin/grep.c:659:3: warning: initializer element is not computable at load time
builtin/grep.c:661:3: warning: initializer element is not computable at load time
{ OPTION_INTEGER, 0, "max-depth", &opt.max_depth, N_("depth"),
^
builtin/grep.c:663:4: warning: initializer element is not computable at load time
NULL, 1 },
^
builtin/grep.c:665:3: warning: initializer element is not computable at load time
OPT_SET_INT('E', "extended-regexp", &pattern_type_arg,
^
builtin/grep.c:665:3: warning: initializer element is not computable at load time
builtin/grep.c:668:3: warning: initializer element is not computable at load time
OPT_SET_INT('G', "basic-regexp", &pattern_type_arg,
^
builtin/grep.c:668:3: warning: initializer element is not computable at load time
builtin/grep.c:671:3: warning: initializer element is not computable at load time
OPT_SET_INT('F', "fixed-strings", &pattern_type_arg,
^
builtin/grep.c:671:3: warning: initializer element is not computable at load time
builtin/grep.c:674:3: warning: initializer element is not computable at load time
OPT_SET_INT('P', "perl-regexp", &pattern_type_arg,
^
builtin/grep.c:674:3: warning: initializer element is not computable at load time
builtin/grep.c:678:3: warning: initializer element is not computable at load time
OPT_BOOL('n', "line-number", &opt.linenum, N_("show line numbers")),
^
builtin/grep.c:678:3: warning: initializer element is not computable at load time
builtin/grep.c:679:3: warning: initializer element is not computable at load time
OPT_NEGBIT('h', NULL, &opt.pathname, N_("don't show filenames"), 1),
^
builtin/grep.c:679:3: warning: initializer element is not computable at load time
builtin/grep.c:680:3: warning: initializer element is not computable at load time
OPT_BIT('H', NULL, &opt.pathname, N_("show filenames"), 1),
^
builtin/grep.c:680:3: warning: initializer element is not computable at load time
builtin/grep.c:681:3: warning: initializer element is not computable at load time
OPT_NEGBIT(0, "full-name", &opt.relative,
^
builtin/grep.c:681:3: warning: initializer element is not computable at load time
builtin/grep.c:683:3: warning: initializer element is not computable at load time
OPT_BOOL('l', "files-with-matches", &opt.name_only,
^
builtin/grep.c:683:3: warning: initializer element is not computable at load time
builtin/grep.c:685:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "name-only", &opt.name_only,
^
builtin/grep.c:685:3: warning: initializer element is not computable at load time
builtin/grep.c:687:3: warning: initializer element is not computable at load time
OPT_BOOL('L', "files-without-match",
^
builtin/grep.c:687:3: warning: initializer element is not computable at load time
builtin/grep.c:690:3: warning: initializer element is not computable at load time
OPT_BOOL('z', "null", &opt.null_following_name,
^
builtin/grep.c:690:3: warning: initializer element is not computable at load time
builtin/grep.c:692:3: warning: initializer element is not computable at load time
OPT_BOOL('c', "count", &opt.count,
^
builtin/grep.c:692:3: warning: initializer element is not computable at load time
builtin/grep.c:694:3: warning: initializer element is not computable at load time
OPT__COLOR(&opt.color, N_("highlight matches")),
^
builtin/grep.c:694:3: warning: initializer element is not computable at load time
builtin/grep.c:695:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "break", &opt.file_break,
^
builtin/grep.c:695:3: warning: initializer element is not computable at load time
builtin/grep.c:697:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "heading", &opt.heading,
^
builtin/grep.c:697:3: warning: initializer element is not computable at load time
builtin/grep.c:700:3: warning: initializer element is not computable at load time
OPT_CALLBACK('C', "context", &opt, N_("n"),
^
builtin/grep.c:700:3: warning: initializer element is not computable at load time
builtin/grep.c:703:3: warning: initializer element is not computable at load time
OPT_INTEGER('B', "before-context", &opt.pre_context,
^
builtin/grep.c:703:3: warning: initializer element is not computable at load time
builtin/grep.c:705:3: warning: initializer element is not computable at load time
OPT_INTEGER('A', "after-context", &opt.post_context,
^
builtin/grep.c:705:3: warning: initializer element is not computable at load time
builtin/grep.c:707:3: warning: initializer element is not computable at load time
OPT_NUMBER_CALLBACK(&opt, N_("shortcut for -C NUM"),
^
builtin/grep.c:707:3: warning: initializer element is not computable at load time
builtin/grep.c:709:3: warning: initializer element is not computable at load time
OPT_BOOL('p', "show-function", &opt.funcname,
^
builtin/grep.c:709:3: warning: initializer element is not computable at load time
builtin/grep.c:711:3: warning: initializer element is not computable at load time
OPT_BOOL('W', "function-context", &opt.funcbody,
^
builtin/grep.c:711:3: warning: initializer element is not computable at load time
builtin/grep.c:714:3: warning: initializer element is not computable at load time
OPT_CALLBACK('f', NULL, &opt, N_("file"),
^
builtin/grep.c:714:3: warning: initializer element is not computable at load time
builtin/grep.c:716:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'e', NULL, &opt, N_("pattern"),
^
builtin/grep.c:717:4: warning: initializer element is not computable at load time
N_("match <pattern>"), PARSE_OPT_NONEG, pattern_callback },
^
builtin/grep.c:718:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "and", &opt, NULL,
^
builtin/grep.c:720:5: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, and_callback },
^
builtin/grep.c:721:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "or", &dummy, ""),
^
builtin/grep.c:721:3: warning: initializer element is not computable at load time
builtin/grep.c:722:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "not", &opt, NULL, "",
^
builtin/grep.c:723:5: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, not_callback },
^
builtin/grep.c:724:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, '(', NULL, &opt, NULL, "",
^
builtin/grep.c:726:5: warning: initializer element is not computable at load time
open_callback },
^
builtin/grep.c:727:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, ')', NULL, &opt, NULL, "",
^
builtin/grep.c:729:5: warning: initializer element is not computable at load time
close_callback },
^
builtin/grep.c:730:3: warning: initializer element is not computable at load time
OPT__QUIET(&opt.status_only,
^
builtin/grep.c:730:3: warning: initializer element is not computable at load time
builtin/grep.c:732:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "all-match", &opt.all_match,
^
builtin/grep.c:732:3: warning: initializer element is not computable at load time
builtin/grep.c:734:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 0, "debug", &opt.debug, NULL,
^
builtin/grep.c:736:5: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_HIDDEN, NULL, 1 },
^
builtin/grep.c:738:3: warning: initializer element is not computable at load time
{ OPTION_STRING, 'O', "open-files-in-pager", &show_in_pager,
^
builtin/grep.c:740:4: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, NULL, (intptr_t)default_pager },
^
builtin/grep.c:740:4: warning: initializer element is not computable at load time
builtin/grep.c:741:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "ext-grep", &external_grep_allowed__ignored,
^
builtin/grep.c:741:3: warning: initializer element is not computable at load time
builtin/grep.c:743:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "help-all", &options, NULL, N_("show usage"),
^
builtin/grep.c:744:5: warning: initializer element is not computable at load time
PARSE_OPT_HIDDEN | PARSE_OPT_NOARG, help_callback },
^
CC builtin/hash-object.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/hash-object.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/hash-object.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/hash-object.c:7:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/hash-object.c:7:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/hash-object.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/hash-object.c:7:
builtin/hash-object.c: In function 'cmd_hash_object':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/hash-object.c:117:3: note: in expansion of macro 'error'
error("%s", errstr);
^
CC builtin/help.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/help.c:4:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/help.c:4:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/help.c:4:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/help.c:4:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/help.c:5:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/help.c:10:0:
./help.h:9:8: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/help.c:18:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/help.c:24:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
CC builtin/index-pack.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/index-pack.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/index-pack.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/index-pack.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/index-pack.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/index-pack.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/index-pack.c:1:
builtin/index-pack.c: In function 'unpack_raw_entry':
./git-compat-util.h:55:40: warning: use of C99 long long integer constant [-Wlong-long]
#define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (bitsizeof(x) - (bits))))
^
builtin/index-pack.c:511:24: note: in expansion of macro 'MSB'
if (!base_offset || MSB(base_offset, 7))
^
builtin/index-pack.c: In function 'show_pack_info':
builtin/index-pack.c:1478:10: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
(uintmax_t)obj->idx.offset);
^
CC builtin/init-db.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/init-db.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/init-db.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/init-db.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/init-db.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/init-db.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/init-db.c:6:
builtin/init-db.c: In function 'copy_templates_1':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/init-db.c:110:4: note: in expansion of macro 'error'
error(_("ignoring template %s"), template);
^
builtin/init-db.c: In function 'cmd_init_db':
builtin/init-db.c:483:3: warning: initializer element is not computable at load time
OPT_STRING(0, "template", &template_dir, N_("template-directory"),
^
builtin/init-db.c:483:3: warning: initializer element is not computable at load time
builtin/init-db.c:491:3: warning: initializer element is not computable at load time
OPT_BIT('q', "quiet", &flags, N_("be quiet"), INIT_DB_QUIET),
^
builtin/init-db.c:491:3: warning: initializer element is not computable at load time
builtin/init-db.c:492:3: warning: initializer element is not computable at load time
OPT_STRING(0, "separate-git-dir", &real_git_dir, N_("gitdir"),
^
builtin/init-db.c:492:3: warning: initializer element is not computable at load time
CC builtin/log.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/log.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/log.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/log.c:7:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/log.c:7:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/log.c:9:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/log.c:10:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/log.c:11:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/log.c:19:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/log.c: In function 'cmd_log_init_finish':
builtin/log.c:125:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("suppress diff output")),
^
builtin/log.c:125:3: warning: initializer element is not computable at load time
builtin/log.c:126:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "source", &source, N_("show source")),
^
builtin/log.c:126:3: warning: initializer element is not computable at load time
builtin/log.c:127:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "use-mailmap", &mailmap, N_("Use mail map file")),
^
builtin/log.c:127:3: warning: initializer element is not computable at load time
builtin/log.c: In function 'cmd_format_patch':
builtin/log.c:1177:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "stdout", &use_stdout,
^
builtin/log.c:1177:3: warning: initializer element is not computable at load time
builtin/log.c:1179:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "cover-letter", &cover_letter,
^
builtin/log.c:1179:3: warning: initializer element is not computable at load time
builtin/log.c:1181:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "numbered-files", &just_numbers,
^
builtin/log.c:1181:3: warning: initializer element is not computable at load time
builtin/log.c:1185:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "start-number", &start_number,
^
builtin/log.c:1185:3: warning: initializer element is not computable at load time
builtin/log.c:1187:3: warning: initializer element is not computable at load time
OPT_INTEGER('v', "reroll-count", &reroll_count,
^
builtin/log.c:1187:3: warning: initializer element is not computable at load time
builtin/log.c:1189:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "subject-prefix", &rev, N_("prefix"),
^
builtin/log.c:1191:8: warning: initializer element is not computable at load time
PARSE_OPT_NONEG, subject_prefix_callback },
^
builtin/log.c:1195:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'k', "keep-subject", &rev, NULL,
^
builtin/log.c:1197:8: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, keep_callback },
^
builtin/log.c:1198:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "no-binary", &no_binary_diff,
^
builtin/log.c:1198:3: warning: initializer element is not computable at load time
builtin/log.c:1200:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "ignore-if-in-upstream", &ignore_if_in_upstream,
^
builtin/log.c:1200:3: warning: initializer element is not computable at load time
builtin/log.c:1202:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 'p', "no-stat", &use_patch_format, NULL,
^
builtin/log.c:1204:5: warning: initializer element is not computable at load time
PARSE_OPT_NONEG | PARSE_OPT_NOARG, NULL, 1},
^
builtin/log.c:1212:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "from", &from, N_("ident"),
^
builtin/log.c:1214:8: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, from_callback },
^
builtin/log.c:1215:3: warning: initializer element is not computable at load time
OPT_STRING(0, "in-reply-to", &in_reply_to, N_("message-id"),
^
builtin/log.c:1215:3: warning: initializer element is not computable at load time
builtin/log.c:1217:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "attach", &rev, N_("boundary"),
^
builtin/log.c:1219:8: warning: initializer element is not computable at load time
attach_callback },
^
builtin/log.c:1220:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "inline", &rev, N_("boundary"),
^
builtin/log.c:1223:8: warning: initializer element is not computable at load time
inline_callback },
^
builtin/log.c:1229:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("don't print the patch filenames")),
^
builtin/log.c:1229:3: warning: initializer element is not computable at load time
builtin/log.c: In function 'cmd_cherry':
builtin/log.c:1587:3: warning: initializer element is not computable at load time
OPT__ABBREV(&abbrev),
^
builtin/log.c:1587:3: warning: initializer element is not computable at load time
builtin/log.c:1588:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose, N_("be verbose")),
^
builtin/log.c:1588:3: warning: initializer element is not computable at load time
CC builtin/ls-files.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/ls-files.c:8:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/ls-files.c:8:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/ls-files.c:8:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/ls-files.c:8:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/ls-files.c:10:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/ls-files.c:11:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/ls-files.c:8:
builtin/ls-files.c: In function 'report_path_error':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/ls-files.c:392:3: note: in expansion of macro 'error'
error("pathspec '%s' did not match any file(s) known to git.",
^
builtin/ls-files.c: In function 'cmd_ls_files':
builtin/ls-files.c:457:3: warning: initializer element is not computable at load time
OPT_BOOL('t', NULL, &show_tag,
^
builtin/ls-files.c:457:3: warning: initializer element is not computable at load time
builtin/ls-files.c:469:3: warning: initializer element is not computable at load time
OPT_BIT('i', "ignored", &dir.flags,
^
builtin/ls-files.c:469:3: warning: initializer element is not computable at load time
builtin/ls-files.c:476:3: warning: initializer element is not computable at load time
OPT_BIT(0, "directory", &dir.flags,
^
builtin/ls-files.c:476:3: warning: initializer element is not computable at load time
builtin/ls-files.c:479:3: warning: initializer element is not computable at load time
OPT_NEGBIT(0, "empty-directory", &dir.flags,
^
builtin/ls-files.c:479:3: warning: initializer element is not computable at load time
builtin/ls-files.c:486:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'x', "exclude", &exclude_list, N_("pattern"),
^
builtin/ls-files.c:488:4: warning: initializer element is not computable at load time
0, option_parse_exclude },
^
builtin/ls-files.c:489:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'X', "exclude-from", &dir, N_("file"),
^
builtin/ls-files.c:491:4: warning: initializer element is not computable at load time
0, option_parse_exclude_from },
^
builtin/ls-files.c:492:3: warning: initializer element is not computable at load time
OPT_STRING(0, "exclude-per-directory", &dir.exclude_per_dir, N_("file"),
^
builtin/ls-files.c:492:3: warning: initializer element is not computable at load time
builtin/ls-files.c:494:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "exclude-standard", &dir, NULL,
^
builtin/ls-files.c:496:4: warning: initializer element is not computable at load time
PARSE_OPT_NOARG, option_parse_exclude_standard },
^
CC builtin/ls-remote.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/ls-remote.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/ls-remote.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/ls-remote.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/ls-remote.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/ls-remote.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./transport.h:6:0,
from builtin/ls-remote.c:3:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/ls-tree.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/ls-tree.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/ls-tree.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/ls-tree.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/ls-tree.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/ls-tree.c:9:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/ls-tree.c: In function 'cmd_ls_tree':
builtin/ls-tree.c:142:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "full-tree", &full_tree,
^
builtin/ls-tree.c:142:3: warning: initializer element is not computable at load time
CC builtin/mailinfo.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/mailinfo.c:5:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/mailinfo.c:5:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/mailinfo.c:5:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/mailinfo.c:5:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/mailinfo.c:6:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/mailsplit.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/mailsplit.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/mailsplit.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/mailsplit.c:7:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/mailsplit.c:7:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/mailsplit.c:8:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/mailsplit.c:7:
builtin/mailsplit.c: In function 'populate_maildir_list':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:116:4: note: in expansion of macro 'error'
error("cannot opendir %s (%s)", name, strerror(errno));
^
builtin/mailsplit.c: In function 'split_maildir':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:173:4: note: in expansion of macro 'error'
error("cannot open mail %s (%s)", file, strerror(errno));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:178:4: note: in expansion of macro 'error'
error("cannot read mail %s (%s)", file, strerror(errno));
^
builtin/mailsplit.c: In function 'split_mbox':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:205:3: note: in expansion of macro 'error'
error("cannot open mbox %s", file);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:217:4: note: in expansion of macro 'error'
error("cannot read mbox %s", file);
^
builtin/mailsplit.c: In function 'cmd_mailsplit':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:303:5: note: in expansion of macro 'error'
error("cannot split patches from stdin");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:312:4: note: in expansion of macro 'error'
error("cannot stat %s (%s)", arg, strerror(errno));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/mailsplit.c:322:4: note: in expansion of macro 'error'
error("cannot split patches from %s", arg);
^
CC builtin/merge.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/merge.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/merge.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/merge.c:9:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/merge.c:9:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge.c:11:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/merge.c:13:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/merge.c:17:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/merge.c:19:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/merge.c:20:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/merge.c:25:0:
./help.h:9:8: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/merge.c:28:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/merge.c:9:
builtin/merge.c: In function 'try_merge_strategy':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/merge.c:681:4: note: in expansion of macro 'error'
error(_("Not handling anything other than two heads merge."));
^
builtin/merge.c: In function 'abort_commit':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/merge.c:805:3: note: in expansion of macro 'error'
error("%s", err_msg);
^
CC builtin/merge-base.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/merge-base.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/merge-base.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/merge-base.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/merge-base.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge-base.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/merge-base.c:5:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/merge-base.c:6:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
builtin/merge-base.c: In function 'cmd_merge_base':
builtin/merge-base.c:214:3: warning: initializer element is not computable at load time
OPT_BOOL('a', "all", &show_all, N_("output all common ancestors")),
^
builtin/merge-base.c:214:3: warning: initializer element is not computable at load time
builtin/merge-base.c:215:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "octopus", &cmdmode,
^
builtin/merge-base.c:215:3: warning: initializer element is not computable at load time
builtin/merge-base.c:217:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "independent", &cmdmode,
^
builtin/merge-base.c:217:3: warning: initializer element is not computable at load time
builtin/merge-base.c:219:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "is-ancestor", &cmdmode,
^
builtin/merge-base.c:219:3: warning: initializer element is not computable at load time
builtin/merge-base.c:221:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "fork-point", &cmdmode,
^
builtin/merge-base.c:221:3: warning: initializer element is not computable at load time
CC builtin/merge-file.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/merge-file.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/merge-file.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/merge-file.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/merge-file.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge-file.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/merge-file.c: In function 'cmd_merge_file':
builtin/merge-file.c:33:3: warning: initializer element is not computable at load time
OPT_BOOL('p', "stdout", &to_stdout, N_("send results to standard output")),
^
builtin/merge-file.c:33:3: warning: initializer element is not computable at load time
builtin/merge-file.c:34:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "diff3", &xmp.style, N_("use a diff3 based merge"), XDL_MERGE_DIFF3),
^
builtin/merge-file.c:34:3: warning: initializer element is not computable at load time
builtin/merge-file.c:35:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "ours", &xmp.favor, N_("for conflicts, use our version"),
^
builtin/merge-file.c:35:3: warning: initializer element is not computable at load time
builtin/merge-file.c:37:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "theirs", &xmp.favor, N_("for conflicts, use their version"),
^
builtin/merge-file.c:37:3: warning: initializer element is not computable at load time
builtin/merge-file.c:39:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "union", &xmp.favor, N_("for conflicts, use a union version"),
^
builtin/merge-file.c:39:3: warning: initializer element is not computable at load time
builtin/merge-file.c:41:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "marker-size", &xmp.marker_size,
^
builtin/merge-file.c:41:3: warning: initializer element is not computable at load time
builtin/merge-file.c:43:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("do not warn about conflicts")),
^
builtin/merge-file.c:43:3: warning: initializer element is not computable at load time
builtin/merge-file.c:44:3: warning: initializer element is not computable at load time
OPT_CALLBACK('L', NULL, names, N_("name"),
^
builtin/merge-file.c:44:3: warning: initializer element is not computable at load time
CC builtin/merge-index.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/merge-index.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/merge-index.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/merge-index.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/merge-index.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge-index.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/merge-index.c: In function 'merge_entry':
builtin/merge-index.c:11:2: warning: initializer element is not computable at load time
const char *arguments[] = { pgm, "", "", "", path, "", "", "", NULL };
^
builtin/merge-index.c:11:2: warning: initializer element is not computable at load time
CC builtin/merge-ours.o
In file included from ./git-compat-util.h:302:0,
from builtin/merge-ours.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from builtin/merge-ours.c:10:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/merge-ours.c:11:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/merge-ours.c:11:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge-ours.c:11:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/merge-recursive.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/merge-recursive.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/merge-recursive.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/merge-recursive.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/merge-recursive.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge-recursive.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/merge-tree.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/merge-tree.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/merge-tree.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/merge-tree.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/merge-tree.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/merge-tree.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/mktag.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/mktag.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/mktag.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/mktag.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/mktag.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/mktag.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/mktag.c: In function 'verify_tag':
builtin/mktag.c:66:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": could not find next \"\\n\"",
^
builtin/mktag.c:70:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": no \"tag \" found",
^
builtin/mktag.c:76:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": type too long",
^
builtin/mktag.c:94:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": could not verify tag name",
^
builtin/mktag.c:102:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": could not find \"tagger \"",
^
builtin/mktag.c:115:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": malformed tagger field",
^
builtin/mktag.c:120:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": missing tagger name",
^
builtin/mktag.c:126:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": missing tag timestamp",
^
builtin/mktag.c:130:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": malformed tag timestamp",
^
builtin/mktag.c:138:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": malformed tag timezone",
^
builtin/mktag.c:144:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
return error("char%"PRIuMAX": trailing garbage in tag header",
^
CC builtin/mktree.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/mktree.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/mktree.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/mktree.c:6:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/mktree.c:6:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/mktree.c:6:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/mktree.c:15:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/mktree.c: In function 'cmd_mktree':
builtin/mktree.c:150:3: warning: initializer element is not computable at load time
OPT_SET_INT('z', NULL, &line_termination, N_("input is NUL terminated"), '\0'),
^
builtin/mktree.c:150:3: warning: initializer element is not computable at load time
builtin/mktree.c:151:3: warning: initializer element is not computable at load time
OPT_SET_INT( 0 , "missing", &allow_missing, N_("allow missing objects"), 1),
^
builtin/mktree.c:151:3: warning: initializer element is not computable at load time
builtin/mktree.c:152:3: warning: initializer element is not computable at load time
OPT_SET_INT( 0 , "batch", &is_batch_mode, N_("allow creation of more than one tree"), 1),
^
builtin/mktree.c:152:3: warning: initializer element is not computable at load time
CC builtin/mv.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/mv.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/mv.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/mv.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/mv.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/mv.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/mv.c:8:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/mv.c:9:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/mv.c: In function 'cmd_mv':
builtin/mv.c:69:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose, N_("be verbose")),
^
builtin/mv.c:69:3: warning: initializer element is not computable at load time
builtin/mv.c:70:3: warning: initializer element is not computable at load time
OPT__DRY_RUN(&show_only, N_("dry run")),
^
builtin/mv.c:70:3: warning: initializer element is not computable at load time
builtin/mv.c:71:3: warning: initializer element is not computable at load time
OPT__FORCE(&force, N_("force move/rename even if target exists")),
^
builtin/mv.c:71:3: warning: initializer element is not computable at load time
builtin/mv.c:72:3: warning: initializer element is not computable at load time
OPT_BOOL('k', NULL, &ignore_errors, N_("skip move/rename errors")),
^
builtin/mv.c:72:3: warning: initializer element is not computable at load time
CC builtin/name-rev.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/name-rev.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/name-rev.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/name-rev.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/name-rev.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/name-rev.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/name-rev.c: In function 'cmd_name_rev':
builtin/name-rev.c:312:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "name-only", &data.name_only, N_("print only names (no SHA-1)")),
^
builtin/name-rev.c:312:3: warning: initializer element is not computable at load time
builtin/name-rev.c:313:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "tags", &data.tags_only, N_("only use tags to name the commits")),
^
builtin/name-rev.c:313:3: warning: initializer element is not computable at load time
builtin/name-rev.c:314:3: warning: initializer element is not computable at load time
OPT_STRING(0, "refs", &data.ref_filter, N_("pattern"),
^
builtin/name-rev.c:314:3: warning: initializer element is not computable at load time
builtin/name-rev.c:317:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "all", &all, N_("list all commits reachable from all refs")),
^
builtin/name-rev.c:317:3: warning: initializer element is not computable at load time
builtin/name-rev.c:318:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "stdin", &transform_stdin, N_("read from stdin")),
^
builtin/name-rev.c:318:3: warning: initializer element is not computable at load time
builtin/name-rev.c:319:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "undefined", &allow_undefined, N_("allow to print `undefined` names (default)")),
^
builtin/name-rev.c:319:3: warning: initializer element is not computable at load time
builtin/name-rev.c:320:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "always", &always,
^
builtin/name-rev.c:320:3: warning: initializer element is not computable at load time
builtin/name-rev.c:324:4: warning: initializer element is not computable at load time
OPTION_SET_INT, 0, "peel-tag", &peel_tag, NULL,
^
builtin/name-rev.c:327:3: warning: initializer element is not computable at load time
},
^
In file included from ./builtin.h:4:0,
from builtin/name-rev.c:1:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/name-rev.c:334:3: note: in expansion of macro 'error'
error("Specify either a list, or --all, not both!");
^
CC builtin/notes.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/notes.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/notes.c:10:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/notes.c:10:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/notes.c:11:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/notes.c: In function 'write_commented_object':
builtin/notes.c:124:3: warning: initializer element is not computable at load time
{"show", "--stat", "--no-notes", sha1_to_hex(object), NULL};
^
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
builtin/notes.c: In function 'create_note':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:212:4: note: in expansion of macro 'error'
error(_("unable to write note object"));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:214:5: note: in expansion of macro 'error'
error(_("The note contents has been left in %s"),
^
builtin/notes.c: In function 'notes_copy_from_stdin':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:331:4: note: in expansion of macro 'error'
error(_("Failed to copy notes from '%s' to '%s'"),
^
builtin/notes.c: In function 'list':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:375:3: note: in expansion of macro 'error'
error(_("too many parameters"));
^
builtin/notes.c: In function 'add':
builtin/notes.c:409:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'm', "message", &msg, N_("message"),
^
builtin/notes.c:411:4: warning: initializer element is not computable at load time
parse_msg_arg},
^
builtin/notes.c:412:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'F', "file", &msg, N_("file"),
^
builtin/notes.c:414:4: warning: initializer element is not computable at load time
parse_file_arg},
^
builtin/notes.c:415:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'c', "reedit-message", &msg, N_("object"),
^
builtin/notes.c:417:4: warning: initializer element is not computable at load time
parse_reedit_arg},
^
builtin/notes.c:418:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'C', "reuse-message", &msg, N_("object"),
^
builtin/notes.c:420:4: warning: initializer element is not computable at load time
parse_reuse_arg},
^
builtin/notes.c:421:3: warning: initializer element is not computable at load time
OPT__FORCE(&force, N_("replace existing notes")),
^
builtin/notes.c:421:3: warning: initializer element is not computable at load time
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:429:3: note: in expansion of macro 'error'
error(_("too many parameters"));
^
builtin/notes.c: In function 'copy':
builtin/notes.c:489:3: warning: initializer element is not computable at load time
OPT__FORCE(&force, N_("replace existing notes")),
^
builtin/notes.c:489:3: warning: initializer element is not computable at load time
builtin/notes.c:490:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "stdin", &from_stdin, N_("read objects from stdin")),
^
builtin/notes.c:490:3: warning: initializer element is not computable at load time
builtin/notes.c:491:3: warning: initializer element is not computable at load time
OPT_STRING(0, "for-rewrite", &rewrite_cmd, N_("command"),
^
builtin/notes.c:491:3: warning: initializer element is not computable at load time
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:502:4: note: in expansion of macro 'error'
error(_("too many parameters"));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:510:3: note: in expansion of macro 'error'
error(_("too few parameters"));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:514:3: note: in expansion of macro 'error'
error(_("too many parameters"));
^
builtin/notes.c: In function 'append_edit':
builtin/notes.c:566:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'm', "message", &msg, N_("message"),
^
builtin/notes.c:568:4: warning: initializer element is not computable at load time
parse_msg_arg},
^
builtin/notes.c:569:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'F', "file", &msg, N_("file"),
^
builtin/notes.c:571:4: warning: initializer element is not computable at load time
parse_file_arg},
^
builtin/notes.c:572:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'c', "reedit-message", &msg, N_("object"),
^
builtin/notes.c:574:4: warning: initializer element is not computable at load time
parse_reedit_arg},
^
builtin/notes.c:575:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'C', "reuse-message", &msg, N_("object"),
^
builtin/notes.c:577:4: warning: initializer element is not computable at load time
parse_reuse_arg},
^
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:587:3: note: in expansion of macro 'error'
error(_("too many parameters"));
^
builtin/notes.c: In function 'show':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:634:3: note: in expansion of macro 'error'
error(_("too many parameters"));
^
builtin/notes.c:650:3: warning: initializer element is not computable at load time
const char *show_args[3] = {"show", sha1_to_hex(note), NULL};
^
builtin/notes.c: In function 'merge':
builtin/notes.c:740:3: warning: initializer element is not computable at load time
OPT__VERBOSITY(&verbosity),
^
builtin/notes.c:740:3: warning: initializer element is not computable at load time
builtin/notes.c:740:3: warning: initializer element is not computable at load time
builtin/notes.c:740:3: warning: initializer element is not computable at load time
builtin/notes.c:742:3: warning: initializer element is not computable at load time
OPT_STRING('s', "strategy", &strategy, N_("strategy"),
^
builtin/notes.c:742:3: warning: initializer element is not computable at load time
builtin/notes.c:746:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 0, "commit", &do_commit, NULL,
^
builtin/notes.c:748:4: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, NULL, 1},
^
builtin/notes.c:750:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 0, "abort", &do_abort, NULL,
^
builtin/notes.c:752:4: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, NULL, 1},
^
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:762:3: note: in expansion of macro 'error'
error("cannot mix --commit, --abort or -s/--strategy");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:767:3: note: in expansion of macro 'error'
error("Must specify a notes ref to merge");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:770:3: note: in expansion of macro 'error'
error("too many parameters");
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:799:4: note: in expansion of macro 'error'
error("Unknown -s/--strategy: %s", strategy);
^
builtin/notes.c: In function 'remove_cmd':
builtin/notes.c:857:3: warning: initializer element is not computable at load time
OPT_BIT(0, "ignore-missing", &flag,
^
builtin/notes.c:857:3: warning: initializer element is not computable at load time
builtin/notes.c:860:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "stdin", &from_stdin,
^
builtin/notes.c:860:3: warning: initializer element is not computable at load time
builtin/notes.c: In function 'prune':
builtin/notes.c:899:3: warning: initializer element is not computable at load time
OPT__DRY_RUN(&show_only, "do not remove, show only"),
^
builtin/notes.c:899:3: warning: initializer element is not computable at load time
builtin/notes.c:900:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose, "report pruned notes"),
^
builtin/notes.c:900:3: warning: initializer element is not computable at load time
In file included from ./cache.h:4:0,
from builtin/notes.c:10:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:908:3: note: in expansion of macro 'error'
error(_("too many parameters"));
^
builtin/notes.c: In function 'get_ref':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/notes.c:929:3: note: in expansion of macro 'error'
error("too many parameters");
^
builtin/notes.c: In function 'cmd_notes':
builtin/notes.c:942:3: warning: initializer element is not computable at load time
OPT_STRING(0, "ref", &override_notes_ref, N_("notes-ref"),
^
builtin/notes.c:942:3: warning: initializer element is not computable at load time
CC builtin/pack-objects.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/pack-objects.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/pack-objects.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/pack-objects.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/pack-objects.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/pack-objects.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/pack-objects.c:14:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/pack-objects.c:15:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./pack-bitmap.h:4:0,
from builtin/pack-objects.c:22:
./ewah/ewok.h: In function 'ewah_bit_popcount64':
./ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
./ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
./ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
./ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
./ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
./ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
./ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
In file included from builtin/pack-objects.c:22:0:
./pack-bitmap.h: At top level:
./pack-bitmap.h:28:27: warning: comma at end of enumerator list [-Wpedantic]
BITMAP_OPT_HASH_CACHE = 4,
^
In file included from ./builtin.h:4:0,
from builtin/pack-objects.c:1:
builtin/pack-objects.c: In function 'write_reuse_object':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/pack-objects.c:366:3: note: in expansion of macro 'error'
error("bad packed object CRC for %s", sha1_to_hex(entry->idx.sha1));
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/pack-objects.c:376:3: note: in expansion of macro 'error'
error("corrupt packed object for %s", sha1_to_hex(entry->idx.sha1));
^
In file included from ./builtin.h:4:0,
from builtin/pack-objects.c:1:
builtin/pack-objects.c: In function 'check_object':
./git-compat-util.h:55:40: warning: use of C99 long long integer constant [-Wlong-long]
#define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (bitsizeof(x) - (bits))))
^
builtin/pack-objects.c:1379:17: note: in expansion of macro 'MSB'
if (!ofs || MSB(ofs, 7)) {
^
In file included from ./builtin.h:4:0,
from builtin/pack-objects.c:1:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/pack-objects.c:1380:6: note: in expansion of macro 'error'
error("delta base offset overflow in pack for %s",
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/pack-objects.c:1389:5: note: in expansion of macro 'error'
error("delta base offset out of bound for %s",
^
builtin/pack-objects.c: In function 'cmd_pack_objects':
builtin/pack-objects.c:2585:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "all-progress-implied",
^
builtin/pack-objects.c:2585:3: warning: initializer element is not computable at load time
builtin/pack-objects.c:2613:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "revs", &use_internal_rev_list,
^
builtin/pack-objects.c:2613:3: warning: initializer element is not computable at load time
builtin/pack-objects.c:2615:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 0, "unpacked", &rev_list_unpacked, NULL,
^
builtin/pack-objects.c:2617:5: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, NULL, 1 },
^
builtin/pack-objects.c:2618:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 0, "all", &rev_list_all, NULL,
^
builtin/pack-objects.c:2620:5: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, NULL, 1 },
^
builtin/pack-objects.c:2621:3: warning: initializer element is not computable at load time
{ OPTION_SET_INT, 0, "reflog", &rev_list_reflog, NULL,
^
builtin/pack-objects.c:2623:5: warning: initializer element is not computable at load time
PARSE_OPT_NOARG | PARSE_OPT_NONEG, NULL, 1 },
^
builtin/pack-objects.c:2633:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "thin", &thin,
^
builtin/pack-objects.c:2633:3: warning: initializer element is not computable at load time
CC builtin/pack-redundant.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/pack-redundant.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/pack-redundant.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/pack-redundant.c:9:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/pack-redundant.c:9:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/pack-redundant.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/pack-refs.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/pack-refs.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/pack-refs.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/pack-refs.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/pack-refs.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/pack-refs.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/pack-refs.c: In function 'cmd_pack_refs':
builtin/pack-refs.c:14:3: warning: initializer element is not computable at load time
OPT_BIT(0, "all", &flags, N_("pack everything"), PACK_REFS_ALL),
^
builtin/pack-refs.c:14:3: warning: initializer element is not computable at load time
builtin/pack-refs.c:15:3: warning: initializer element is not computable at load time
OPT_BIT(0, "prune", &flags, N_("prune loose refs (default)"), PACK_REFS_PRUNE),
^
builtin/pack-refs.c:15:3: warning: initializer element is not computable at load time
CC builtin/patch-id.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/patch-id.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/patch-id.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/patch-id.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/patch-id.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/patch-id.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/prune-packed.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/prune-packed.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/prune-packed.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/prune-packed.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/prune-packed.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/prune-packed.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/prune-packed.c: In function 'cmd_prune_packed':
builtin/prune-packed.c:77:3: warning: initializer element is not computable at load time
OPT_BIT('n', "dry-run", &opts, N_("dry run"),
^
builtin/prune-packed.c:77:3: warning: initializer element is not computable at load time
builtin/prune-packed.c:79:3: warning: initializer element is not computable at load time
OPT_NEGBIT('q', "quiet", &opts, N_("be quiet"),
^
builtin/prune-packed.c:79:3: warning: initializer element is not computable at load time
CC builtin/prune.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/prune.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/prune.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/prune.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/prune.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/prune.c:2:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/prune.c:3:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/prune.c:4:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/prune.c:9:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/push.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/push.c:4:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/push.c:4:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/push.c:4:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/push.c:4:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/push.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/push.c:8:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/push.c:206:1: warning: string length '861' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
N_("push.default is unset; its implicit value has changed in\n"
^
In file included from ./cache.h:4:0,
from builtin/push.c:4:
builtin/push.c: In function 'push_with_options':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/push.c:365:3: note: in expansion of macro 'error'
error(_("failed to push some refs to '%s'"), transport->url);
^
builtin/push.c: In function 'cmd_push':
builtin/push.c:483:3: warning: initializer element is not computable at load time
OPT_STRING( 0 , "repo", &repo, N_("repository"), N_("repository")),
^
builtin/push.c:483:3: warning: initializer element is not computable at load time
builtin/push.c:484:3: warning: initializer element is not computable at load time
OPT_BIT( 0 , "all", &flags, N_("push all refs"), TRANSPORT_PUSH_ALL),
^
builtin/push.c:484:3: warning: initializer element is not computable at load time
builtin/push.c:485:3: warning: initializer element is not computable at load time
OPT_BIT( 0 , "mirror", &flags, N_("mirror all refs"),
^
builtin/push.c:485:3: warning: initializer element is not computable at load time
builtin/push.c:488:3: warning: initializer element is not computable at load time
OPT_BOOL( 0 , "tags", &tags, N_("push tags (can't be used with --all or --mirror)")),
^
builtin/push.c:488:3: warning: initializer element is not computable at load time
builtin/push.c:489:3: warning: initializer element is not computable at load time
OPT_BIT('n' , "dry-run", &flags, N_("dry run"), TRANSPORT_PUSH_DRY_RUN),
^
builtin/push.c:489:3: warning: initializer element is not computable at load time
builtin/push.c:490:3: warning: initializer element is not computable at load time
OPT_BIT( 0, "porcelain", &flags, N_("machine-readable output"), TRANSPORT_PUSH_PORCELAIN),
^
builtin/push.c:490:3: warning: initializer element is not computable at load time
builtin/push.c:491:3: warning: initializer element is not computable at load time
OPT_BIT('f', "force", &flags, N_("force updates"), TRANSPORT_PUSH_FORCE),
^
builtin/push.c:491:3: warning: initializer element is not computable at load time
builtin/push.c:496:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "recurse-submodules", &flags, N_("check"),
^
builtin/push.c:498:4: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, option_parse_recurse_submodules },
^
builtin/push.c:502:3: warning: initializer element is not computable at load time
OPT_BIT('u', "set-upstream", &flags, N_("set upstream for git pull/status"),
^
builtin/push.c:502:3: warning: initializer element is not computable at load time
builtin/push.c:505:3: warning: initializer element is not computable at load time
OPT_BIT(0, "prune", &flags, N_("prune locally removed refs"),
^
builtin/push.c:505:3: warning: initializer element is not computable at load time
builtin/push.c:507:3: warning: initializer element is not computable at load time
OPT_BIT(0, "no-verify", &flags, N_("bypass pre-push hook"), TRANSPORT_PUSH_NO_HOOK),
^
builtin/push.c:507:3: warning: initializer element is not computable at load time
builtin/push.c:508:3: warning: initializer element is not computable at load time
OPT_BIT(0, "follow-tags", &flags, N_("push missing but relevant tags"),
^
builtin/push.c:508:3: warning: initializer element is not computable at load time
CC builtin/read-tree.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/read-tree.c:7:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/read-tree.c:7:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/read-tree.c:7:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/read-tree.c:7:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/read-tree.c:11:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from builtin/read-tree.c:13:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/read-tree.c:14:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/read-tree.c: In function 'cmd_read_tree':
builtin/read-tree.c:113:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&opts.verbose_update, N_("be verbose")),
^
builtin/read-tree.c:113:3: warning: initializer element is not computable at load time
builtin/read-tree.c:115:3: warning: initializer element is not computable at load time
OPT_SET_INT('m', NULL, &opts.merge,
^
builtin/read-tree.c:115:3: warning: initializer element is not computable at load time
builtin/read-tree.c:117:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "trivial", &opts.trivial_merges_only,
^
builtin/read-tree.c:117:3: warning: initializer element is not computable at load time
builtin/read-tree.c:119:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "aggressive", &opts.aggressive,
^
builtin/read-tree.c:119:3: warning: initializer element is not computable at load time
builtin/read-tree.c:121:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "reset", &opts.reset,
^
builtin/read-tree.c:121:3: warning: initializer element is not computable at load time
builtin/read-tree.c:123:3: warning: initializer element is not computable at load time
{ OPTION_STRING, 0, "prefix", &opts.prefix, N_("<subdirectory>/"),
^
builtin/read-tree.c:125:5: warning: initializer element is not computable at load time
PARSE_OPT_NONEG | PARSE_OPT_LITERAL_ARGHELP },
^
builtin/read-tree.c:126:3: warning: initializer element is not computable at load time
OPT_SET_INT('u', NULL, &opts.update,
^
builtin/read-tree.c:126:3: warning: initializer element is not computable at load time
builtin/read-tree.c:128:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "exclude-per-directory", &opts,
^
builtin/read-tree.c:131:5: warning: initializer element is not computable at load time
PARSE_OPT_NONEG, exclude_per_directory_cb },
^
builtin/read-tree.c:132:3: warning: initializer element is not computable at load time
OPT_SET_INT('i', NULL, &opts.index_only,
^
builtin/read-tree.c:132:3: warning: initializer element is not computable at load time
builtin/read-tree.c:134:3: warning: initializer element is not computable at load time
OPT__DRY_RUN(&opts.dry_run, N_("don't update the index or the work tree")),
^
builtin/read-tree.c:134:3: warning: initializer element is not computable at load time
builtin/read-tree.c:135:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "no-sparse-checkout", &opts.skip_sparse_checkout,
^
builtin/read-tree.c:135:3: warning: initializer element is not computable at load time
builtin/read-tree.c:137:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "debug-unpack", &opts.debug_unpack,
^
builtin/read-tree.c:137:3: warning: initializer element is not computable at load time
CC builtin/receive-pack.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/receive-pack.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/receive-pack.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/receive-pack.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/receive-pack.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/receive-pack.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/receive-pack.c:10:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/receive-pack.c:203:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char ref_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/receive-pack.c:1:
builtin/receive-pack.c: In function 'update':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/receive-pack.c:506:3: note: in expansion of macro 'error'
error("unpack should have generated %s, "
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/receive-pack.c:546:4: note: in expansion of macro 'error'
error("bad sha1 objects for %s", name);
^
builtin/receive-pack.c: In function 'execute_commands':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/receive-pack.c:825:4: note: in expansion of macro 'error'
error("BUG: connectivity check has not been run on ref %s",
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/receive-pack.c:832:3: note: in expansion of macro 'error'
error("BUG: run 'git fsck' for safety.\n"
^
builtin/receive-pack.c: In function 'unpack':
builtin/receive-pack.c:957:3: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
s = sprintf(keep_arg, "--keep=receive-pack %"PRIuMAX" on ", (uintmax_t) getpid());
^
CC builtin/reflog.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/reflog.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/reflog.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/reflog.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/reflog.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/reflog.c:2:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/reflog.c:5:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/reflog.c:7:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/reflog.c:8:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
builtin/reflog.c:50:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char reflog[FLEX_ARRAY];
^
builtin/reflog.c:471:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pattern[FLEX_ARRAY];
^
CC builtin/remote.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/remote.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/remote.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/remote.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/remote.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/remote.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./transport.h:6:0,
from builtin/remote.c:3:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/remote.c: In function 'fetch_remote':
builtin/remote.c:83:2: warning: initializer element is not computable at load time
const char *argv[] = { "fetch", name, NULL, NULL };
^
builtin/remote.c: In function 'add':
builtin/remote.c:153:3: warning: initializer element is not computable at load time
OPT_BOOL('f', "fetch", &fetch, N_("fetch the remote branches")),
^
builtin/remote.c:153:3: warning: initializer element is not computable at load time
builtin/remote.c:154:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "tags", &fetch_tags,
^
builtin/remote.c:154:3: warning: initializer element is not computable at load time
builtin/remote.c:157:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, NULL, &fetch_tags,
^
builtin/remote.c:157:3: warning: initializer element is not computable at load time
builtin/remote.c:159:3: warning: initializer element is not computable at load time
OPT_STRING_LIST('t', "track", &track, N_("branch"),
^
builtin/remote.c:159:3: warning: initializer element is not computable at load time
builtin/remote.c:161:3: warning: initializer element is not computable at load time
OPT_STRING('m', "master", &master, N_("branch"), N_("master branch")),
^
builtin/remote.c:161:3: warning: initializer element is not computable at load time
builtin/remote.c:162:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 0, "mirror", &mirror, N_("push|fetch"),
^
builtin/remote.c:164:4: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, parse_mirror_opt },
^
In file included from ./builtin.h:4:0,
from builtin/remote.c:1:
builtin/remote.c: In function 'show_local_info_item':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/remote.c:996:3: note: in expansion of macro 'error'
error(_("invalid branch.%s.merge; cannot rebase onto > 1 branch"),
^
builtin/remote.c: In function 'show':
builtin/remote.c:1154:3: warning: initializer element is not computable at load time
OPT_BOOL('n', NULL, &no_query, N_("do not query remotes")),
^
builtin/remote.c:1154:3: warning: initializer element is not computable at load time
builtin/remote.c: In function 'set_head':
builtin/remote.c:1261:3: warning: initializer element is not computable at load time
OPT_BOOL('a', "auto", &opt_a,
^
builtin/remote.c:1261:3: warning: initializer element is not computable at load time
builtin/remote.c:1263:3: warning: initializer element is not computable at load time
OPT_BOOL('d', "delete", &opt_d,
^
builtin/remote.c:1263:3: warning: initializer element is not computable at load time
builtin/remote.c: In function 'prune':
builtin/remote.c:1367:3: warning: initializer element is not computable at load time
OPT__DRY_RUN(&dry_run, N_("dry run")),
^
builtin/remote.c:1367:3: warning: initializer element is not computable at load time
builtin/remote.c: In function 'update':
builtin/remote.c:1396:3: warning: initializer element is not computable at load time
OPT_BOOL('p', "prune", &prune,
^
builtin/remote.c:1396:3: warning: initializer element is not computable at load time
builtin/remote.c: In function 'set_branches':
builtin/remote.c:1483:3: warning: initializer element is not computable at load time
OPT_BOOL('\0', "add", &add_mode, N_("add branch")),
^
builtin/remote.c:1483:3: warning: initializer element is not computable at load time
In file included from ./builtin.h:4:0,
from builtin/remote.c:1:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/remote.c:1490:3: note: in expansion of macro 'error'
error(_("no remote specified"));
^
builtin/remote.c: In function 'set_url':
builtin/remote.c:1511:3: warning: initializer element is not computable at load time
OPT_BOOL('\0', "push", &push_mode,
^
builtin/remote.c:1511:3: warning: initializer element is not computable at load time
builtin/remote.c:1513:3: warning: initializer element is not computable at load time
OPT_BOOL('\0', "add", &add_mode,
^
builtin/remote.c:1513:3: warning: initializer element is not computable at load time
builtin/remote.c:1515:3: warning: initializer element is not computable at load time
OPT_BOOL('\0', "delete", &delete_mode,
^
builtin/remote.c:1515:3: warning: initializer element is not computable at load time
In file included from ./builtin.h:4:0,
from builtin/remote.c:1:
builtin/remote.c: In function 'cmd_remote':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/remote.c:1616:3: note: in expansion of macro 'error'
error(_("Unknown subcommand: %s"), argv[0]);
^
CC builtin/remote-ext.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/remote-ext.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/remote-ext.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/remote-ext.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/remote-ext.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/remote-ext.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./transport.h:6:0,
from builtin/remote-ext.c:2:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/remote-fd.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/remote-fd.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/remote-fd.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/remote-fd.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/remote-fd.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/remote-fd.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./transport.h:6:0,
from builtin/remote-fd.c:2:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/repack.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/repack.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/repack.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/repack.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/repack.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/repack.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/repack.c:3:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/repack.c: In function 'cmd_repack':
builtin/repack.c:155:3: warning: initializer element is not computable at load time
OPT_BIT('a', NULL, &pack_everything,
^
builtin/repack.c:155:3: warning: initializer element is not computable at load time
builtin/repack.c:157:3: warning: initializer element is not computable at load time
OPT_BIT('A', NULL, &pack_everything,
^
builtin/repack.c:157:3: warning: initializer element is not computable at load time
builtin/repack.c:160:3: warning: initializer element is not computable at load time
OPT_BOOL('d', NULL, &delete_redundant,
^
builtin/repack.c:160:3: warning: initializer element is not computable at load time
builtin/repack.c:162:3: warning: initializer element is not computable at load time
OPT_BOOL('f', NULL, &no_reuse_delta,
^
builtin/repack.c:162:3: warning: initializer element is not computable at load time
builtin/repack.c:164:3: warning: initializer element is not computable at load time
OPT_BOOL('F', NULL, &no_reuse_object,
^
builtin/repack.c:164:3: warning: initializer element is not computable at load time
builtin/repack.c:166:3: warning: initializer element is not computable at load time
OPT_BOOL('n', NULL, &no_update_server_info,
^
builtin/repack.c:166:3: warning: initializer element is not computable at load time
builtin/repack.c:168:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("be quiet")),
^
builtin/repack.c:168:3: warning: initializer element is not computable at load time
builtin/repack.c:169:3: warning: initializer element is not computable at load time
OPT_BOOL('l', "local", &local,
^
builtin/repack.c:169:3: warning: initializer element is not computable at load time
builtin/repack.c:171:3: warning: initializer element is not computable at load time
OPT_BOOL('b', "write-bitmap-index", &write_bitmap,
^
builtin/repack.c:171:3: warning: initializer element is not computable at load time
builtin/repack.c:173:3: warning: initializer element is not computable at load time
OPT_STRING(0, "unpack-unreachable", &unpack_unreachable, N_("approxidate"),
^
builtin/repack.c:173:3: warning: initializer element is not computable at load time
builtin/repack.c:175:3: warning: initializer element is not computable at load time
OPT_STRING(0, "window", &window, N_("n"),
^
builtin/repack.c:175:3: warning: initializer element is not computable at load time
builtin/repack.c:177:3: warning: initializer element is not computable at load time
OPT_STRING(0, "window-memory", &window_memory, N_("bytes"),
^
builtin/repack.c:177:3: warning: initializer element is not computable at load time
builtin/repack.c:179:3: warning: initializer element is not computable at load time
OPT_STRING(0, "depth", &depth, N_("n"),
^
builtin/repack.c:179:3: warning: initializer element is not computable at load time
builtin/repack.c:181:3: warning: initializer element is not computable at load time
OPT_STRING(0, "max-pack-size", &max_pack_size, N_("bytes"),
^
builtin/repack.c:181:3: warning: initializer element is not computable at load time
CC builtin/replace.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/replace.c:11:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/replace.c:11:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/replace.c:11:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/replace.c:11:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/replace.c:12:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/replace.c:11:
builtin/replace.c: In function 'for_each_replace_name':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/replace.c:98:4: note: in expansion of macro 'error'
error("Failed to resolve '%s' as a valid ref.", *p);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/replace.c:107:4: note: in expansion of macro 'error'
error("replace ref '%s' not found.", full_hex);
^
builtin/replace.c: In function 'cmd_replace':
builtin/replace.c:174:3: warning: initializer element is not computable at load time
OPT_BOOL('l', "list", &list, N_("list replace refs")),
^
builtin/replace.c:174:3: warning: initializer element is not computable at load time
builtin/replace.c:175:3: warning: initializer element is not computable at load time
OPT_BOOL('d', "delete", &delete, N_("delete replace refs")),
^
builtin/replace.c:175:3: warning: initializer element is not computable at load time
builtin/replace.c:176:3: warning: initializer element is not computable at load time
OPT_BOOL('f', "force", &force, N_("replace the ref if it exists")),
^
builtin/replace.c:176:3: warning: initializer element is not computable at load time
builtin/replace.c:177:3: warning: initializer element is not computable at load time
OPT_STRING(0, "format", &format, N_("format"), N_("use this format")),
^
builtin/replace.c:177:3: warning: initializer element is not computable at load time
CC builtin/rerere.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/rerere.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/rerere.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/rerere.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/rerere.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/rerere.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/rerere.c:3:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/rerere.c: In function 'cmd_rerere':
builtin/rerere.c:56:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "rerere-autoupdate", &autoupdate,
^
builtin/rerere.c:56:3: warning: initializer element is not computable at load time
CC builtin/reset.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/reset.c:10:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/reset.c:10:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/reset.c:10:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/reset.c:10:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/reset.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/reset.c:16:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from builtin/reset.c:22:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/reset.c: In function 'cmd_reset':
builtin/reset.c:273:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet, N_("be quiet, only report errors")),
^
builtin/reset.c:273:3: warning: initializer element is not computable at load time
builtin/reset.c:274:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "mixed", &reset_type,
^
builtin/reset.c:274:3: warning: initializer element is not computable at load time
builtin/reset.c:276:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "soft", &reset_type, N_("reset only HEAD"), SOFT),
^
builtin/reset.c:276:3: warning: initializer element is not computable at load time
builtin/reset.c:277:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "hard", &reset_type,
^
builtin/reset.c:277:3: warning: initializer element is not computable at load time
builtin/reset.c:279:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "merge", &reset_type,
^
builtin/reset.c:279:3: warning: initializer element is not computable at load time
builtin/reset.c:281:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "keep", &reset_type,
^
builtin/reset.c:281:3: warning: initializer element is not computable at load time
builtin/reset.c:283:3: warning: initializer element is not computable at load time
OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")),
^
builtin/reset.c:283:3: warning: initializer element is not computable at load time
builtin/reset.c:284:3: warning: initializer element is not computable at load time
OPT_BOOL('N', "intent-to-add", &intent_to_add,
^
builtin/reset.c:284:3: warning: initializer element is not computable at load time
CC builtin/rev-list.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/rev-list.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/rev-list.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/rev-list.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/rev-list.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/rev-list.c:2:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/rev-list.c:3:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/rev-list.c:4:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./pack-bitmap.h:4:0,
from builtin/rev-list.c:7:
./ewah/ewok.h: In function 'ewah_bit_popcount64':
./ewah/ewok.h:44:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
./ewah/ewok.h:44:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL);
^
./ewah/ewok.h:45:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
./ewah/ewok.h:45:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);
^
./ewah/ewok.h:46:11: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
./ewah/ewok.h:46:49: warning: use of C99 long long integer constant [-Wlong-long]
x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL);
^
./ewah/ewok.h:47:14: warning: use of C99 long long integer constant [-Wlong-long]
return (x * 0x0101010101010101ULL) >> 56;
^
In file included from builtin/rev-list.c:7:0:
./pack-bitmap.h: At top level:
./pack-bitmap.h:28:27: warning: comma at end of enumerator list [-Wpedantic]
BITMAP_OPT_HASH_CACHE = 4,
^
builtin/rev-list.c:49:1: warning: string length '665' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
;
^
CC builtin/rev-parse.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/rev-parse.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/rev-parse.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/rev-parse.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/rev-parse.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/rev-parse.c:7:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/rev-parse.c:12:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/rev-parse.c:13:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./cache.h:4:0,
from builtin/rev-parse.c:6:
builtin/rev-parse.c: In function 'show_rev':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/rev-parse.c:150:5: note: in expansion of macro 'error'
error("refname '%s' is ambiguous", name);
^
CC builtin/revert.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/revert.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/revert.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/revert.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/revert.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/revert.c:2:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/revert.c:4:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/revert.c:5:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from builtin/revert.c:7:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
builtin/revert.c: In function 'parse_args':
builtin/revert.c:80:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "quit", &cmd, N_("end revert or cherry-pick sequence"), 'q'),
^
builtin/revert.c:80:3: warning: initializer element is not computable at load time
builtin/revert.c:81:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "continue", &cmd, N_("resume revert or cherry-pick sequence"), 'c'),
^
builtin/revert.c:81:3: warning: initializer element is not computable at load time
builtin/revert.c:82:3: warning: initializer element is not computable at load time
OPT_CMDMODE(0, "abort", &cmd, N_("cancel revert or cherry-pick sequence"), 'a'),
^
builtin/revert.c:82:3: warning: initializer element is not computable at load time
builtin/revert.c:83:3: warning: initializer element is not computable at load time
OPT_BOOL('n', "no-commit", &opts->no_commit, N_("don't automatically commit")),
^
builtin/revert.c:83:3: warning: initializer element is not computable at load time
builtin/revert.c:84:3: warning: initializer element is not computable at load time
OPT_BOOL('e', "edit", &opts->edit, N_("edit the commit message")),
^
builtin/revert.c:84:3: warning: initializer element is not computable at load time
builtin/revert.c:86:3: warning: initializer element is not computable at load time
OPT_BOOL('s', "signoff", &opts->signoff, N_("add Signed-off-by:")),
^
builtin/revert.c:86:3: warning: initializer element is not computable at load time
builtin/revert.c:87:3: warning: initializer element is not computable at load time
OPT_INTEGER('m', "mainline", &opts->mainline, N_("parent number")),
^
builtin/revert.c:87:3: warning: initializer element is not computable at load time
builtin/revert.c:88:3: warning: initializer element is not computable at load time
OPT_RERERE_AUTOUPDATE(&opts->allow_rerere_auto),
^
builtin/revert.c:88:3: warning: initializer element is not computable at load time
builtin/revert.c:89:3: warning: initializer element is not computable at load time
OPT_STRING(0, "strategy", &opts->strategy, N_("strategy"), N_("merge strategy")),
^
builtin/revert.c:89:3: warning: initializer element is not computable at load time
builtin/revert.c:90:3: warning: initializer element is not computable at load time
OPT_CALLBACK('X', "strategy-option", &opts, N_("option"),
^
builtin/revert.c:90:3: warning: initializer element is not computable at load time
builtin/revert.c:92:3: warning: initializer element is not computable at load time
{ OPTION_STRING, 'S', "gpg-sign", &opts->gpg_sign, N_("key-id"),
^
builtin/revert.c:93:5: warning: initializer element is not computable at load time
N_("GPG sign commit"), PARSE_OPT_OPTARG, NULL, (intptr_t) "" },
^
builtin/revert.c:104:4: warning: initializer element is not computable at load time
OPT_BOOL('x', NULL, &opts->record_origin, N_("append commit name")),
^
builtin/revert.c:104:4: warning: initializer element is not computable at load time
builtin/revert.c:105:4: warning: initializer element is not computable at load time
OPT_BOOL(0, "ff", &opts->allow_ff, N_("allow fast-forward")),
^
builtin/revert.c:105:4: warning: initializer element is not computable at load time
builtin/revert.c:106:4: warning: initializer element is not computable at load time
OPT_BOOL(0, "allow-empty", &opts->allow_empty, N_("preserve initially empty commits")),
^
builtin/revert.c:106:4: warning: initializer element is not computable at load time
builtin/revert.c:107:4: warning: initializer element is not computable at load time
OPT_BOOL(0, "allow-empty-message", &opts->allow_empty_message, N_("allow commits with empty messages")),
^
builtin/revert.c:107:4: warning: initializer element is not computable at load time
builtin/revert.c:108:4: warning: initializer element is not computable at load time
OPT_BOOL(0, "keep-redundant-commits", &opts->keep_redundant_commits, N_("keep redundant, empty commits")),
^
builtin/revert.c:108:4: warning: initializer element is not computable at load time
CC builtin/rm.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/rm.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/rm.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/rm.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/rm.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/rm.c:7:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/rm.c:8:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/rm.c:9:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
CC builtin/send-pack.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/send-pack.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/send-pack.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/send-pack.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/send-pack.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/send-pack.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/send-pack.c:7:0:
./remote.h:119:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
CC builtin/shortlog.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/shortlog.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/shortlog.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/shortlog.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/shortlog.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/shortlog.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/shortlog.c:4:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/shortlog.c:6:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./builtin.h:4:0,
from builtin/shortlog.c:1:
builtin/shortlog.c: In function 'cmd_shortlog':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/shortlog.c:261:3: note: in expansion of macro 'error'
error(_("unrecognized argument: %s"), argv[1]);
^
CC builtin/show-branch.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/show-branch.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/show-branch.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/show-branch.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/show-branch.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/show-branch.c:2:0:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/show-branch.c:1:
builtin/show-branch.c: In function 'append_one_rev':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/show-branch.c:543:4: note: in expansion of macro 'error'
error("no matching refs with %s", av);
^
builtin/show-branch.c: In function 'cmd_show_branch':
builtin/show-branch.c:648:3: warning: initializer element is not computable at load time
OPT_BOOL('a', "all", &all_heads,
^
builtin/show-branch.c:648:3: warning: initializer element is not computable at load time
builtin/show-branch.c:650:3: warning: initializer element is not computable at load time
OPT_BOOL('r', "remotes", &all_remotes,
^
builtin/show-branch.c:650:3: warning: initializer element is not computable at load time
builtin/show-branch.c:654:3: warning: initializer element is not computable at load time
{ OPTION_INTEGER, 0, "more", &extra, N_("n"),
^
builtin/show-branch.c:656:8: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, NULL, (intptr_t)1 },
^
builtin/show-branch.c:657:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "list", &extra, N_("synonym to more=-1"), -1),
^
builtin/show-branch.c:657:3: warning: initializer element is not computable at load time
builtin/show-branch.c:658:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "no-name", &no_name, N_("suppress naming strings")),
^
builtin/show-branch.c:658:3: warning: initializer element is not computable at load time
builtin/show-branch.c:659:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "current", &with_current_branch,
^
builtin/show-branch.c:659:3: warning: initializer element is not computable at load time
builtin/show-branch.c:661:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "sha1-name", &sha1_name,
^
builtin/show-branch.c:661:3: warning: initializer element is not computable at load time
builtin/show-branch.c:663:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "merge-base", &merge_base,
^
builtin/show-branch.c:663:3: warning: initializer element is not computable at load time
builtin/show-branch.c:665:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "independent", &independent,
^
builtin/show-branch.c:665:3: warning: initializer element is not computable at load time
builtin/show-branch.c:667:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "topo-order", &sort_order,
^
builtin/show-branch.c:667:3: warning: initializer element is not computable at load time
builtin/show-branch.c:670:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "topics", &topics,
^
builtin/show-branch.c:670:3: warning: initializer element is not computable at load time
builtin/show-branch.c:672:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "sparse", &dense,
^
builtin/show-branch.c:672:3: warning: initializer element is not computable at load time
builtin/show-branch.c:674:3: warning: initializer element is not computable at load time
OPT_SET_INT(0, "date-order", &sort_order,
^
builtin/show-branch.c:674:3: warning: initializer element is not computable at load time
builtin/show-branch.c:678:3: warning: initializer element is not computable at load time
{ OPTION_CALLBACK, 'g', "reflog", &reflog_base, N_("<n>[,<base>]"),
^
builtin/show-branch.c:682:8: warning: initializer element is not computable at load time
parse_reflog_param },
^
CC builtin/show-ref.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/show-ref.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/show-ref.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/show-ref.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/show-ref.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/show-ref.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/stripspace.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/stripspace.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/stripspace.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/stripspace.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/stripspace.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/stripspace.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/symbolic-ref.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/symbolic-ref.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/symbolic-ref.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/symbolic-ref.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/symbolic-ref.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/symbolic-ref.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/symbolic-ref.c: In function 'cmd_symbolic_ref':
builtin/symbolic-ref.c:39:3: warning: initializer element is not computable at load time
OPT__QUIET(&quiet,
^
builtin/symbolic-ref.c:39:3: warning: initializer element is not computable at load time
builtin/symbolic-ref.c:41:3: warning: initializer element is not computable at load time
OPT_BOOL('d', "delete", &delete, N_("delete symbolic ref")),
^
builtin/symbolic-ref.c:41:3: warning: initializer element is not computable at load time
builtin/symbolic-ref.c:42:3: warning: initializer element is not computable at load time
OPT_BOOL(0, "short", &shorten, N_("shorten ref output")),
^
builtin/symbolic-ref.c:42:3: warning: initializer element is not computable at load time
builtin/symbolic-ref.c:43:3: warning: initializer element is not computable at load time
OPT_STRING('m', NULL, &msg, N_("reason"), N_("reason of the update")),
^
builtin/symbolic-ref.c:43:3: warning: initializer element is not computable at load time
CC builtin/tag.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/tag.c:9:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/tag.c:9:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/tag.c:9:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/tag.c:9:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/tag.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/tag.c:15:0:
./diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from ./revision.h:5:0,
from builtin/tag.c:16:
./grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
In file included from ./cache.h:4:0,
from builtin/tag.c:9:
builtin/tag.c: In function 'for_each_tag_name':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/tag.c:239:4: note: in expansion of macro 'error'
error(_("tag name too long: %.*s..."), 50, *p);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/tag.c:244:4: note: in expansion of macro 'error'
error(_("tag '%s' not found."), *p);
^
builtin/tag.c: In function 'cmd_tag':
builtin/tag.c:500:3: warning: initializer element is not computable at load time
OPT_CMDMODE('l', "list", &cmdmode, N_("list tag names"), 'l'),
^
builtin/tag.c:500:3: warning: initializer element is not computable at load time
builtin/tag.c:501:3: warning: initializer element is not computable at load time
{ OPTION_INTEGER, 'n', NULL, &lines, N_("n"),
^
builtin/tag.c:503:5: warning: initializer element is not computable at load time
PARSE_OPT_OPTARG, NULL, 1 },
^
builtin/tag.c:504:3: warning: initializer element is not computable at load time
OPT_CMDMODE('d', "delete", &cmdmode, N_("delete tags"), 'd'),
^
builtin/tag.c:504:3: warning: initializer element is not computable at load time
builtin/tag.c:505:3: warning: initializer element is not computable at load time
OPT_CMDMODE('v', "verify", &cmdmode, N_("verify tags"), 'v'),
^
builtin/tag.c:505:3: warning: initializer element is not computable at load time
builtin/tag.c:508:3: warning: initializer element is not computable at load time
OPT_BOOL('a', "annotate", &annotate,
^
builtin/tag.c:508:3: warning: initializer element is not computable at load time
builtin/tag.c:510:3: warning: initializer element is not computable at load time
OPT_CALLBACK('m', "message", &msg, N_("message"),
^
builtin/tag.c:510:3: warning: initializer element is not computable at load time
builtin/tag.c:512:3: warning: initializer element is not computable at load time
OPT_FILENAME('F', "file", &msgfile, N_("read message from file")),
^
builtin/tag.c:512:3: warning: initializer element is not computable at load time
builtin/tag.c:513:3: warning: initializer element is not computable at load time
OPT_BOOL('s', "sign", &opt.sign, N_("annotated and GPG-signed tag")),
^
builtin/tag.c:513:3: warning: initializer element is not computable at load time
builtin/tag.c:514:3: warning: initializer element is not computable at load time
OPT_STRING(0, "cleanup", &cleanup_arg, N_("mode"),
^
builtin/tag.c:514:3: warning: initializer element is not computable at load time
builtin/tag.c:516:3: warning: initializer element is not computable at load time
OPT_STRING('u', "local-user", &keyid, N_("key-id"),
^
builtin/tag.c:516:3: warning: initializer element is not computable at load time
builtin/tag.c:518:3: warning: initializer element is not computable at load time
OPT__FORCE(&force, N_("replace the tag if exists")),
^
builtin/tag.c:518:3: warning: initializer element is not computable at load time
builtin/tag.c:521:4: warning: initializer element is not computable at load time
OPTION_CALLBACK, 0, "sort", &sort, N_("type"), N_("sort tags"),
^
builtin/tag.c:523:3: warning: initializer element is not computable at load time
},
^
builtin/tag.c:527:4: warning: initializer element is not computable at load time
OPTION_CALLBACK, 0, "contains", &with_commit, N_("commit"),
^
builtin/tag.c:531:3: warning: initializer element is not computable at load time
},
^
builtin/tag.c:533:4: warning: initializer element is not computable at load time
OPTION_CALLBACK, 0, "with", &with_commit, N_("commit"),
^
builtin/tag.c:537:3: warning: initializer element is not computable at load time
},
^
CC builtin/unpack-file.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/unpack-file.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/unpack-file.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/unpack-file.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/unpack-file.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/unpack-file.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/unpack-objects.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/unpack-objects.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/unpack-objects.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/unpack-objects.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/unpack-objects.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/unpack-objects.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from ./builtin.h:4:0,
from builtin/unpack-objects.c:1:
builtin/unpack-objects.c: In function 'get_data':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/unpack-objects.c:110:4: note: in expansion of macro 'error'
error("inflate returned %d", ret);
^
In file included from ./builtin.h:4:0,
from builtin/unpack-objects.c:1:
builtin/unpack-objects.c: In function 'unpack_delta_entry':
./git-compat-util.h:55:40: warning: use of C99 long long integer constant [-Wlong-long]
#define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (bitsizeof(x) - (bits))))
^
builtin/unpack-objects.c:367:24: note: in expansion of macro 'MSB'
if (!base_offset || MSB(base_offset, 7))
^
In file included from ./builtin.h:4:0,
from builtin/unpack-objects.c:1:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/unpack-objects.c:413:3: note: in expansion of macro 'error'
error("failed to read delta-pack base object %s",
^
builtin/unpack-objects.c: In function 'unpack_one':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/unpack-objects.c:459:3: note: in expansion of macro 'error'
error("bad object type %d", type);
^
CC builtin/update-index.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/update-index.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/update-index.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/update-index.c:6:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/update-index.c:6:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from builtin/update-index.c:8:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
In file included from ./builtin.h:7:0,
from builtin/update-index.c:10:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/update-index.c:15:0:
./dir.h:10:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./cache.h:4:0,
from builtin/update-index.c:6:
builtin/update-index.c: In function 'read_one_ent':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/update-index.c:417:4: note: in expansion of macro 'error'
error("%s: not in %s branch.", path, which);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/update-index.c:422:4: note: in expansion of macro 'error'
error("%s: not a blob in %s branch.", path, which);
^
builtin/update-index.c: In function 'unresolve_one':
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/update-index.c:494:3: note: in expansion of macro 'error'
error("%s: cannot add our version to the index.", path);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/update-index.c:500:2: note: in expansion of macro 'error'
error("%s: cannot add their version to the index.", path);
^
builtin/update-index.c: In function 'cmd_update_index':
builtin/update-index.c:744:9: warning: initializer element is not computable at load time
struct refresh_params refresh_args = {0, &has_errors};
^
builtin/update-index.c:750:3: warning: initializer element is not computable at load time
OPT_BIT('q', NULL, &refresh_args.flags,
^
builtin/update-index.c:750:3: warning: initializer element is not computable at load time
builtin/update-index.c:753:3: warning: initializer element is not computable at load time
OPT_BIT(0, "ignore-submodules", &refresh_args.flags,
^
builtin/update-index.c:753:3: warning: initializer element is not computable at load time
builtin/update-index.c:762:3: warning: initializer element is not computable at load time
OPT_BIT(0, "unmerged", &refresh_args.flags,
^
builtin/update-index.c:762:3: warning: initializer element is not computable at load time
builtin/update-index.c:765:3: warning: initializer element is not computable at load time
{OPTION_CALLBACK, 0, "refresh", &refresh_args, NULL,
^
builtin/update-index.c:768:4: warning: initializer element is not computable at load time
refresh_callback},
^
builtin/update-index.c:769:3: warning: initializer element is not computable at load time
{OPTION_CALLBACK, 0, "really-refresh", &refresh_args, NULL,
^
builtin/update-index.c:772:4: warning: initializer element is not computable at load time
really_refresh_callback},
^
builtin/update-index.c:779:3: warning: initializer element is not computable at load time
{OPTION_CALLBACK, 0, "chmod", &set_executable_bit, N_("(+/-)x"),
^
builtin/update-index.c:782:4: warning: initializer element is not computable at load time
chmod_callback},
^
builtin/update-index.c:799:3: warning: initializer element is not computable at load time
OPT_SET_INT('z', NULL, &line_termination,
^
builtin/update-index.c:799:3: warning: initializer element is not computable at load time
builtin/update-index.c:801:3: warning: initializer element is not computable at load time
{OPTION_LOWLEVEL_CALLBACK, 0, "stdin", &read_from_stdin, NULL,
^
builtin/update-index.c:804:4: warning: initializer element is not computable at load time
(parse_opt_cb *) stdin_callback},
^
builtin/update-index.c:805:3: warning: initializer element is not computable at load time
{OPTION_LOWLEVEL_CALLBACK, 0, "index-info", &line_termination, NULL,
^
builtin/update-index.c:808:4: warning: initializer element is not computable at load time
(parse_opt_cb *) stdin_cacheinfo_callback},
^
builtin/update-index.c:809:3: warning: initializer element is not computable at load time
{OPTION_LOWLEVEL_CALLBACK, 0, "unresolve", &has_errors, NULL,
^
builtin/update-index.c:812:4: warning: initializer element is not computable at load time
(parse_opt_cb *) unresolve_callback},
^
builtin/update-index.c:813:3: warning: initializer element is not computable at load time
{OPTION_LOWLEVEL_CALLBACK, 'g', "again", &has_errors, NULL,
^
builtin/update-index.c:816:4: warning: initializer element is not computable at load time
(parse_opt_cb *) reupdate_callback},
^
builtin/update-index.c:817:3: warning: initializer element is not computable at load time
OPT_BIT(0, "ignore-missing", &refresh_args.flags,
^
builtin/update-index.c:817:3: warning: initializer element is not computable at load time
builtin/update-index.c:826:3: warning: initializer element is not computable at load time
OPT_INTEGER(0, "index-version", &preferred_index_format,
^
builtin/update-index.c:826:3: warning: initializer element is not computable at load time
In file included from ./cache.h:4:0,
from builtin/update-index.c:6:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/update-index.c:880:5: note: in expansion of macro 'error'
error("unknown option '%s'", ctx.argv[0] + 2);
^
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/update-index.c:882:5: note: in expansion of macro 'error'
error("unknown switch '%c'", *ctx.opt);
^
CC builtin/update-ref.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/update-ref.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/update-ref.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/update-ref.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/update-ref.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/update-ref.c:3:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/update-ref.c: In function 'cmd_update_ref':
builtin/update-ref.c:255:3: warning: initializer element is not computable at load time
OPT_STRING( 'm', NULL, &msg, N_("reason"), N_("reason of the update")),
^
builtin/update-ref.c:255:3: warning: initializer element is not computable at load time
builtin/update-ref.c:256:3: warning: initializer element is not computable at load time
OPT_BOOL('d', NULL, &delete, N_("delete the reference")),
^
builtin/update-ref.c:256:3: warning: initializer element is not computable at load time
builtin/update-ref.c:257:3: warning: initializer element is not computable at load time
OPT_BOOL( 0 , "no-deref", &no_deref,
^
builtin/update-ref.c:257:3: warning: initializer element is not computable at load time
builtin/update-ref.c:259:3: warning: initializer element is not computable at load time
OPT_BOOL('z', NULL, &end_null, N_("stdin has NUL-terminated arguments")),
^
builtin/update-ref.c:259:3: warning: initializer element is not computable at load time
builtin/update-ref.c:260:3: warning: initializer element is not computable at load time
OPT_BOOL( 0 , "stdin", &read_stdin, N_("read updates from stdin")),
^
builtin/update-ref.c:260:3: warning: initializer element is not computable at load time
CC builtin/update-server-info.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/update-server-info.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/update-server-info.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/update-server-info.c:1:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/update-server-info.c:1:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/update-server-info.c:2:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/update-server-info.c: In function 'cmd_update_server_info':
builtin/update-server-info.c:14:3: warning: initializer element is not computable at load time
OPT__FORCE(&force, N_("update the info files from scratch")),
^
builtin/update-server-info.c:14:3: warning: initializer element is not computable at load time
CC builtin/upload-archive.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/upload-archive.c:4:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/upload-archive.c:4:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/upload-archive.c:4:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/upload-archive.c:4:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/upload-archive.c:5:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/upload-archive.c: In function 'cmd_upload_archive':
builtin/upload-archive.c:78:9: warning: initializer element is not computable at load time
struct child_process writer = { argv };
^
In file included from ./cache.h:4:0,
from builtin/upload-archive.c:4:
./git-compat-util.h:334:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define error(...) (error(__VA_ARGS__), -1)
^
builtin/upload-archive.c:108:5: note: in expansion of macro 'error'
error("poll failed resuming: %s",
^
CC builtin/var.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/var.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/var.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/var.c:6:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/var.c:6:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/var.c:6:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
CC builtin/verify-pack.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/verify-pack.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/verify-pack.c:1:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/verify-pack.c:1:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/verify-pack.c:1:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/verify-pack.c:1:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/verify-pack.c: In function 'cmd_verify_pack':
builtin/verify-pack.c:66:3: warning: initializer element is not computable at load time
OPT_BIT('v', "verbose", &flags, N_("verbose"),
^
builtin/verify-pack.c:66:3: warning: initializer element is not computable at load time
builtin/verify-pack.c:68:3: warning: initializer element is not computable at load time
OPT_BIT('s', "stat-only", &flags, N_("show statistics only"),
^
builtin/verify-pack.c:68:3: warning: initializer element is not computable at load time
CC builtin/verify-tag.o
In file included from ./git-compat-util.h:302:0,
from ./cache.h:4,
from builtin/verify-tag.c:8:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./cache.h:4:0,
from builtin/verify-tag.c:8:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from builtin/verify-tag.c:8:0:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from builtin/verify-tag.c:8:0:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/verify-tag.c:9:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
builtin/verify-tag.c: In function 'cmd_verify_tag':
builtin/verify-tag.c:73:3: warning: initializer element is not computable at load time
OPT__VERBOSE(&verbose, N_("print tag contents")),
^
builtin/verify-tag.c:73:3: warning: initializer element is not computable at load time
CC builtin/write-tree.o
In file included from ./git-compat-util.h:302:0,
from ./builtin.h:4,
from builtin/write-tree.c:6:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from ./builtin.h:4:0,
from builtin/write-tree.c:6:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from ./builtin.h:6:0,
from builtin/write-tree.c:6:
./cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:6:0,
from builtin/write-tree.c:6:
./cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
./cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from ./builtin.h:7:0,
from builtin/write-tree.c:6:
./commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from builtin/write-tree.c:9:0:
./cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
builtin/write-tree.c: In function 'cmd_write_tree':
builtin/write-tree.c:24:3: warning: initializer element is not computable at load time
OPT_BIT(0, "missing-ok", &flags, N_("allow missing objects"),
^
builtin/write-tree.c:24:3: warning: initializer element is not computable at load time
builtin/write-tree.c:26:3: warning: initializer element is not computable at load time
{ OPTION_STRING, 0, "prefix", &prefix, N_("<prefix>/"),
^
builtin/write-tree.c:28:5: warning: initializer element is not computable at load time
PARSE_OPT_LITERAL_ARGHELP },
^
builtin/write-tree.c:29:3: warning: initializer element is not computable at load time
{ OPTION_BIT, 0, "ignore-cache-tree", &flags, NULL,
^
builtin/write-tree.c:32:5: warning: initializer element is not computable at load time
WRITE_TREE_IGNORE_CACHE_TREE },
^
LINK git
BUILTIN git-add
BUILTIN git-annotate
BUILTIN git-apply
BUILTIN git-archive
BUILTIN git-bisect--helper
BUILTIN git-blame
BUILTIN git-branch
BUILTIN git-bundle
BUILTIN git-cat-file
BUILTIN git-check-attr
BUILTIN git-check-ignore
BUILTIN git-check-mailmap
BUILTIN git-check-ref-format
BUILTIN git-checkout-index
BUILTIN git-checkout
BUILTIN git-clean
BUILTIN git-clone
BUILTIN git-column
BUILTIN git-commit-tree
BUILTIN git-commit
BUILTIN git-config
BUILTIN git-count-objects
BUILTIN git-credential
BUILTIN git-describe
BUILTIN git-diff-files
BUILTIN git-diff-index
BUILTIN git-diff-tree
BUILTIN git-diff
BUILTIN git-fast-export
BUILTIN git-fetch-pack
BUILTIN git-fetch
BUILTIN git-fmt-merge-msg
BUILTIN git-for-each-ref
BUILTIN git-fsck
BUILTIN git-gc
BUILTIN git-get-tar-commit-id
BUILTIN git-grep
BUILTIN git-hash-object
BUILTIN git-help
BUILTIN git-index-pack
BUILTIN git-init-db
BUILTIN git-log
BUILTIN git-ls-files
BUILTIN git-ls-remote
BUILTIN git-ls-tree
BUILTIN git-mailinfo
BUILTIN git-mailsplit
BUILTIN git-merge
BUILTIN git-merge-base
BUILTIN git-merge-file
BUILTIN git-merge-index
BUILTIN git-merge-ours
BUILTIN git-merge-recursive
BUILTIN git-merge-tree
BUILTIN git-mktag
BUILTIN git-mktree
BUILTIN git-mv
BUILTIN git-name-rev
BUILTIN git-notes
BUILTIN git-pack-objects
BUILTIN git-pack-redundant
BUILTIN git-pack-refs
BUILTIN git-patch-id
BUILTIN git-prune-packed
BUILTIN git-prune
BUILTIN git-push
BUILTIN git-read-tree
BUILTIN git-receive-pack
BUILTIN git-reflog
BUILTIN git-remote
BUILTIN git-remote-ext
BUILTIN git-remote-fd
BUILTIN git-repack
BUILTIN git-replace
BUILTIN git-rerere
BUILTIN git-reset
BUILTIN git-rev-list
BUILTIN git-rev-parse
BUILTIN git-revert
BUILTIN git-rm
BUILTIN git-send-pack
BUILTIN git-shortlog
BUILTIN git-show-branch
BUILTIN git-show-ref
BUILTIN git-stripspace
BUILTIN git-symbolic-ref
BUILTIN git-tag
BUILTIN git-unpack-file
BUILTIN git-unpack-objects
BUILTIN git-update-index
BUILTIN git-update-ref
BUILTIN git-update-server-info
BUILTIN git-upload-archive
BUILTIN git-var
BUILTIN git-verify-pack
BUILTIN git-verify-tag
BUILTIN git-write-tree
BUILTIN git-cherry
BUILTIN git-cherry-pick
BUILTIN git-format-patch
BUILTIN git-fsck-objects
BUILTIN git-init
BUILTIN git-merge-subtree
BUILTIN git-show
BUILTIN git-stage
BUILTIN git-status
BUILTIN git-whatchanged
SUBDIR git-gui
GITGUI_VERSION = 0.19.0.1.gb3f0c
* new locations or Tcl/Tk interpreter
GEN git-gui
INDEX lib/
* tclsh failed; using unoptimized loading
MSGFMT po/bg.msg 543 translated.
MSGFMT po/de.msg 520 translated.
MSGFMT po/nb.msg 474 translated, 39 untranslated.
MSGFMT po/sv.msg 521 translated.
MSGFMT po/fr.msg 520 translated.
MSGFMT po/it.msg 519 translated, 1 untranslated.
MSGFMT po/ja.msg 520 translated.
MSGFMT po/pt_br.msg 520 translated.
MSGFMT po/hu.msg 514 translated.
MSGFMT po/ru.msg 516 translated, 4 untranslated.
MSGFMT po/zh_cn.msg 366 translated, 7 fuzzy, 17 untranslated.
MSGFMT po/el.msg 381 translated, 4 fuzzy, 6 untranslated.
SUBDIR gitk-git
* new Tcl/Tk interpreter location
GEN gitk-wish
Generating catalog po/bg.msg
msgfmt --statistics --tcl po/bg.po -l bg -d po/
304 translated messages.
Generating catalog po/de.msg
msgfmt --statistics --tcl po/de.po -l de -d po/
289 translated messages.
Generating catalog po/es.msg
msgfmt --statistics --tcl po/es.po -l es -d po/
200 translated messages, 7 untranslated messages.
Generating catalog po/sv.msg
msgfmt --statistics --tcl po/sv.po -l sv -d po/
304 translated messages.
Generating catalog po/fr.msg
msgfmt --statistics --tcl po/fr.po -l fr -d po/
276 translated messages, 4 fuzzy translations.
Generating catalog po/it.msg
msgfmt --statistics --tcl po/it.po -l it -d po/
283 translated messages, 6 untranslated messages.
Generating catalog po/ja.msg
msgfmt --statistics --tcl po/ja.po -l ja -d po/
284 translated messages.
Generating catalog po/pt_br.msg
msgfmt --statistics --tcl po/pt_br.po -l pt_br -d po/
290 translated messages.
Generating catalog po/hu.msg
msgfmt --statistics --tcl po/hu.po -l hu -d po/
288 translated messages.
Generating catalog po/ru.msg
msgfmt --statistics --tcl po/ru.po -l ru -d po/
245 translated messages.
SUBDIR perl
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Migration.pm >blib/lib/Git/SVN/Migration.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/GlobSpec.pm >blib/lib/Git/SVN/GlobSpec.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/I18N.pm >blib/lib/Git/I18N.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/IndexInfo.pm >blib/lib/Git/IndexInfo.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Editor.pm >blib/lib/Git/SVN/Editor.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Memoize/YAML.pm >blib/lib/Git/SVN/Memoize/YAML.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Prompt.pm >blib/lib/Git/SVN/Prompt.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN.pm >blib/lib/Git/SVN.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Log.pm >blib/lib/Git/SVN/Log.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Fetcher.pm >blib/lib/Git/SVN/Fetcher.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git.pm >blib/lib/Git.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Ra.pm >blib/lib/Git/SVN/Ra.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></sbuild-nonexistent/share/locale>" <Git/SVN/Utils.pm >blib/lib/Git/SVN/Utils.pm
Manifying blib/man3/Git.3pm
Manifying blib/man3/Git::I18N.3pm
Manifying blib/man3/Git::SVN::Editor.3pm
Manifying blib/man3/Git::SVN::Fetcher.3pm
Manifying blib/man3/Git::SVN::Memoize::YAML.3pm
Manifying blib/man3/Git::SVN::Prompt.3pm
Manifying blib/man3/Git::SVN::Ra.3pm
Manifying blib/man3/Git::SVN::Utils.3pm
SUBDIR templates
MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo
306 translated messages, 687 untranslated messages.
MSGFMT po/build/locale/de/LC_MESSAGES/git.mo
2226 translated messages, 2 untranslated messages.
MSGFMT po/build/locale/vi/LC_MESSAGES/git.mo
2228 translated messages.
MSGFMT po/build/locale/is/LC_MESSAGES/git.mo
14 translated messages.
MSGFMT po/build/locale/sv/LC_MESSAGES/git.mo
2228 translated messages.
MSGFMT po/build/locale/fr/LC_MESSAGES/git.mo
2228 translated messages.
MSGFMT po/build/locale/it/LC_MESSAGES/git.mo
716 translated messages, 350 untranslated messages.
MSGFMT po/build/locale/bg/LC_MESSAGES/git.mo
1307 translated messages, 921 untranslated messages.
MSGFMT po/build/locale/zh_CN/LC_MESSAGES/git.mo
2229 translated messages.
CC test-chmtime.o
In file included from git-compat-util.h:302:0,
from test-chmtime.c:30:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-chmtime.c:30:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
test-chmtime.c: In function 'main':
test-chmtime.c:104:4: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=]
printf("%"PRIuMAX"\t%s\n", mtime, argv[i]);
^
LINK test-chmtime
CC test-ctype.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-ctype.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-ctype.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-ctype.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-ctype.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-ctype
CC test-date.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-date.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-date.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-date.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-date.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-date
CC test-delta.o
In file included from git-compat-util.h:302:0,
from test-delta.c:11:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-delta.c:11:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-delta.c:13:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-delta.c:13:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-delta
CC test-dump-cache-tree.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-dump-cache-tree.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-dump-cache-tree.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-dump-cache-tree.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-dump-cache-tree.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from test-dump-cache-tree.c:3:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
LINK test-dump-cache-tree
CC test-genrandom.o
In file included from git-compat-util.h:302:0,
from test-genrandom.c:7:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-genrandom.c:7:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
LINK test-genrandom
CC test-hashmap.o
In file included from git-compat-util.h:302:0,
from test-hashmap.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-hashmap.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
test-hashmap.c:8:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char key[FLEX_ARRAY];
^
LINK test-hashmap
CC test-index-version.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-index-version.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-index-version.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-index-version.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-index-version.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-index-version
CC test-line-buffer.o
In file included from git-compat-util.h:302:0,
from test-line-buffer.c:5:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-line-buffer.c:5:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
LINK test-line-buffer
CC test-match-trees.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-match-trees.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-match-trees.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-match-trees.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-match-trees.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-match-trees
CC test-mergesort.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-mergesort.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-mergesort.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-mergesort.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-mergesort.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-mergesort
CC test-mktemp.o
In file included from git-compat-util.h:302:0,
from test-mktemp.c:4:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-mktemp.c:4:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
LINK test-mktemp
CC test-parse-options.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-parse-options.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-parse-options.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-parse-options.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-parse-options.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-parse-options
CC test-path-utils.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-path-utils.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-path-utils.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-path-utils.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-path-utils.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-path-utils
CC test-prio-queue.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-prio-queue.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-prio-queue.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-prio-queue.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-prio-queue.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-prio-queue
CC test-read-cache.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-read-cache.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-read-cache.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-read-cache.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-read-cache.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-read-cache
CC test-regex.o
In file included from ./git-compat-util.h:302:0,
from test-regex.c:1:
./compat/bswap.h: In function 'default_bswap64':
./compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
./compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
./compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
./compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
./compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
./compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
./compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
./compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-regex.c:1:0:
./git-compat-util.h: At top level:
./git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
LINK test-regex
CC test-revision-walking.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-revision-walking.c:11:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-revision-walking.c:11:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-revision-walking.c:11:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-revision-walking.c:11:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from test-revision-walking.c:12:0:
commit.h:182:16: warning: ISO C90 does not support flexible array members [-Wpedantic]
unsigned char parent[FLEX_ARRAY][20]; /* more */
^
In file included from test-revision-walking.c:13:0:
diff.h:208:4: warning: ISO C90 does not support flexible array members [-Wpedantic]
} parent[FLEX_ARRAY];
^
In file included from revision.h:5:0,
from test-revision-walking.c:14:
grep.h:162:18: warning: comma at end of enumerator list [-Wpedantic]
GREP_SOURCE_BUF,
^
LINK test-revision-walking
CC test-run-command.o
In file included from git-compat-util.h:302:0,
from test-run-command.c:11:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-run-command.c:11:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
LINK test-run-command
CC test-scrap-cache-tree.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-scrap-cache-tree.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-scrap-cache-tree.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-scrap-cache-tree.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-scrap-cache-tree.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
In file included from test-scrap-cache-tree.c:3:0:
cache-tree.h:13:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY];
^
LINK test-scrap-cache-tree
CC test-sha1.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-sha1.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-sha1.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-sha1.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-sha1.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-sha1
CC test-sigchain.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-sigchain.c:2:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-sigchain.c:2:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-sigchain.c:2:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-sigchain.c:2:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-sigchain
CC test-string-list.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-string-list.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-string-list.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-string-list.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-string-list.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-string-list
CC test-subprocess.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-subprocess.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-subprocess.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-subprocess.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-subprocess.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-subprocess
CC test-svn-fe.o
In file included from git-compat-util.h:302:0,
from test-svn-fe.c:5:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-svn-fe.c:5:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
test-svn-fe.c: In function 'apply_delta':
test-svn-fe.c:18:9: warning: initializer element is not computable at load time
struct sliding_view preimage_view = SLIDING_VIEW_INIT(&preimage, -1);
^
LINK test-svn-fe
CC test-urlmatch-normalization.o
In file included from git-compat-util.h:302:0,
from test-urlmatch-normalization.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from test-urlmatch-normalization.c:1:0:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
LINK test-urlmatch-normalization
CC test-wildmatch.o
In file included from git-compat-util.h:302:0,
from cache.h:4,
from test-wildmatch.c:1:
compat/bswap.h: In function 'default_bswap64':
compat/bswap.h:22:28: warning: use of C99 long long integer constant [-Wlong-long]
return (((val & (uint64_t)0x00000000000000ffULL) << 56) |
^
compat/bswap.h:23:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000000000ff00ULL) << 40) |
^
compat/bswap.h:24:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000000000ff0000ULL) << 24) |
^
compat/bswap.h:25:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00000000ff000000ULL) << 8) |
^
compat/bswap.h:26:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x000000ff00000000ULL) >> 8) |
^
compat/bswap.h:27:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x0000ff0000000000ULL) >> 24) |
^
compat/bswap.h:28:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0x00ff000000000000ULL) >> 40) |
^
compat/bswap.h:29:21: warning: use of C99 long long integer constant [-Wlong-long]
((val & (uint64_t)0xff00000000000000ULL) >> 56));
^
In file included from cache.h:4:0,
from test-wildmatch.c:1:
git-compat-util.h: At top level:
git-compat-util.h:334:15: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros]
#define error(...) (error(__VA_ARGS__), -1)
^
In file included from test-wildmatch.c:1:0:
cache.h:139:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char name[FLEX_ARRAY]; /* more */
^
In file included from test-wildmatch.c:1:0:
cache.h:1088:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char base[FLEX_ARRAY]; /* more */
^
cache.h:1122:7: warning: ISO C90 does not support flexible array members [-Wpedantic]
char pack_name[FLEX_ARRAY]; /* more */
^
LINK test-wildmatch
GEN bin-wrappers/git
GEN bin-wrappers/git-upload-pack
GEN bin-wrappers/git-receive-pack
GEN bin-wrappers/git-upload-archive
GEN bin-wrappers/git-shell
GEN bin-wrappers/git-cvsserver
GEN bin-wrappers/test-chmtime
GEN bin-wrappers/test-ctype
GEN bin-wrappers/test-date
GEN bin-wrappers/test-delta
GEN bin-wrappers/test-dump-cache-tree
GEN bin-wrappers/test-genrandom
GEN bin-wrappers/test-hashmap
GEN bin-wrappers/test-index-version
GEN bin-wrappers/test-line-buffer
GEN bin-wrappers/test-match-trees
GEN bin-wrappers/test-mergesort
GEN bin-wrappers/test-mktemp
GEN bin-wrappers/test-parse-options
GEN bin-wrappers/test-path-utils
GEN bin-wrappers/test-prio-queue
GEN bin-wrappers/test-read-cache
GEN bin-wrappers/test-regex
GEN bin-wrappers/test-revision-walking
GEN bin-wrappers/test-run-command
GEN bin-wrappers/test-scrap-cache-tree
GEN bin-wrappers/test-sha1
GEN bin-wrappers/test-sigchain
GEN bin-wrappers/test-string-list
GEN bin-wrappers/test-subprocess
GEN bin-wrappers/test-svn-fe
GEN bin-wrappers/test-urlmatch-normalization
GEN bin-wrappers/test-wildmatch
GEN git-remote-testgit
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
ok 1 - get foo/snapshot/master.tar.gz
ok 2 - check html headers
ok 3 - strip off the header lines
ok 4 - verify gzip format
ok 5 - untar
ok 6 - count files
ok 7 - verify untarred file-5
ok 8 - get foo/snapshot/master.zip
ok 9 - check HTML headers (zip)
ok 10 - strip off the header lines (zip)
ok 11 - verify zip format
ok 12 - unzip
ok 13 - count files (zip)
ok 14 - verify unzipped file-5
# passed all 14 test(s)
1..14
ok 1 - generate bar/tree
ok 2 - find file-1
ok 3 - find file-50
ok 4 - generate bar/tree/file-50
ok 5 - find line 1
ok 6 - no line 2
ok 7 - generate foo+bar/tree
ok 8 - verify a+b link
ok 9 - generate foo+bar/tree?h=1+2
ok 10 - verify a+b?h=1+2 link
# passed all 10 test(s)
1..10
ok 1 - generate foo/diff
ok 2 - find diff header
ok 3 - find blob link
ok 4 - find added file
ok 5 - find hunk header
ok 6 - find added line
# passed all 6 test(s)
1..6
ok 1 - generate foo/commit
ok 2 - find tree link
ok 3 - find parent link
ok 4 - find commit subject
ok 5 - find commit msg
ok 6 - find diffstat
ok 7 - find diff summary
ok 8 - get root commit
ok 9 - root commit contains diffstat
ok 10 - root commit contains diff
# passed all 10 test(s)
1..10
ok 1 - extract Git version from Makefile
ok 2 - test Git version matches Makefile
ok 3 - test submodule version matches Makefile
# passed all 3 test(s)
1..3
ok 1 - generate foo summary
ok 2 - find commit 1
ok 3 - find commit 5
ok 4 - find branch master
ok 5 - no tags
ok 6 - clone-url expanded correctly
ok 7 - generate bar summary
ok 8 - no commit 45
ok 9 - find commit 46
ok 10 - find commit 50
ok 11 - find branch master
ok 12 - no tags
ok 13 - clone-url expanded correctly
# passed all 13 test(s)
1..13
ok 1 - verify cache-size=0
ok 2 - verify cache-size=1
ok 3 - verify cache-size=1021
# passed all 3 test(s)
1..3
ok 1 - generate index page
ok 2 - verify "No repositories found" message
ok 3 - verify status code is 404
ok 4 - verify there is no tree link
ok 5 - verify there is no log link
# passed all 5 test(s)
1..5
ok 1 - index page
ok 2 - foo
ok 3 - foo/log
ok 4 - foo/tree
ok 5 - foo/tree/file-1
ok 6 - foo/commit
ok 7 - foo/diff
# passed all 7 test(s)
1..7
ok 1 - generate foo/log
ok 2 - find commit 1
ok 3 - find commit 5
ok 4 - generate bar/log
ok 5 - find commit 1
ok 6 - find commit 50
ok 7 - generate "with%20space/log?qt=grep&q=commit+1"
ok 8 - find commit 1
ok 9 - find link with %20 in path
ok 10 - find link with + in arg
ok 11 - no links with space in path
ok 12 - no links with space in arg
ok 13 - commit 2 is not visible
# passed all 13 test(s)
1..13
ok 1 - generate index page
ok 2 - find foo repo
ok 3 - find foo description
ok 4 - find bar repo
ok 5 - find bar description
ok 6 - find foo+bar repo
ok 7 - verify foo+bar link
ok 8 - verify "with%20space" link
ok 9 - no tree-link
ok 10 - no log-link
# passed all 10 test(s)
1..10
ok 1 - generate foo/patch
ok 2 - find `From:` line
ok 3 - find `Date:` line
ok 4 - find `Subject:` line
ok 5 - find `cgit` signature
ok 6 - compare with output of git-format-patch(1)
ok 7 - find initial commit
ok 8 - generate patch for initial commit
ok 9 - find `cgit` signature
ok 10 - generate patches for multiple commits
ok 11 - find `cgit` signature
ok 12 - compare with output of git-format-patch(1)
# passed all 12 test(s)
1..12
1..0 # SKIP Skipping access validation tests: strace not found
ok 1 - generate foo/rawdiff
ok 2 - compare with output of git-diff(1)
ok 3 - find initial commit
ok 4 - generate diff for initial commit
ok 5 - compare with output of git-diff-tree(1)
ok 6 - generate diff for multiple commits
ok 7 - compare with output of git-diff(1)
# passed all 7 test(s)
1..7
ok 1 - generate filter-exec/tree/a%2bb
ok 2 - check whether the exec source filter works
ok 3 - generate filter-exec/about/
ok 4 - check whether the exec about filter works
ok 5 - generate filter-exec/commit/
ok 6 - check whether the exec commit filter works
ok 7 - check whether the exec email filter works for authors
ok 8 - check whether the exec email filter works for committers
ok 9 - generate filter-lua/tree/a%2bb
ok 10 - check whether the lua source filter works
ok 11 - generate filter-lua/about/
ok 12 - check whether the lua about filter works
ok 13 - generate filter-lua/commit/
ok 14 - check whether the lua commit filter works
ok 15 - check whether the lua email filter works for authors
ok 16 - check whether the lua email filter works for committers
# passed all 16 test(s)
1..16
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
fakeroot debian/rules binary-arch
dh binary-arch --with apache2
dh_testroot -a
dh_prep -a
dh_installdirs -a
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>/git'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/git'
install -m 0755 -d /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit
install -m 0755 cgit /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit/cgit.cgi
install -m 0755 -d /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit
install -m 0644 cgit.css /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit/cgit.css
install -m 0644 cgit.png /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit/cgit.png
install -m 0644 favicon.ico /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit/favicon.ico
install -m 0644 robots.txt /<<PKGBUILDDIR>>/debian/cgit/usr/share/cgit/robots.txt
install -m 0755 -d /<<PKGBUILDDIR>>/debian/cgit/usr/lib/cgit/filters
cp -r filters/* /<<PKGBUILDDIR>>/debian/cgit/usr/lib/cgit/filters
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
mv /<<PKGBUILDDIR>>/debian/cgit//usr/share/cgit/cgit.cgi /<<PKGBUILDDIR>>/debian/cgit//usr/lib/cgit
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_install -a
dh_apache2 -a
dh_installdocs -a
dh_installchangelogs -a
dh_installman -a
dh_lintian -a
dh_perl -a
dh_link -a
dh_compress -a
dh_fixperms -a
dh_strip -a
dh_makeshlibs -a
dh_shlibdeps -a
dh_installdeb -a
dh_gencontrol -a
dpkg-gencontrol: warning: Depends field of package cgit: unknown substitution variable ${python:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: package cgit: unused substitution variable ${perl:Depends}
dh_md5sums -a
dh_builddeb -a
dpkg-deb: building package `cgit' in `../cgit_0.10.2.git2.0.1-3+deb8u1_armhf.deb'.
dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../cgit_0.10.2.git2.0.1-3+deb8u1_armhf.changes
dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included)
dpkg-source --after-build cgit-0.10.2.git2.0.1
dpkg-buildpackage: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 20160407-2238
Finished
--------
I: Built successfully
+------------------------------------------------------------------------------+
| Post Build Chroot |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Changes |
+------------------------------------------------------------------------------+
cgit_0.10.2.git2.0.1-3+deb8u1_armhf.changes:
--------------------------------------------
Format: 1.8
Date: Mon, 04 Apr 2016 08:41:52 +0200
Source: cgit
Binary: cgit
Architecture: armhf
Version: 0.10.2.git2.0.1-3+deb8u1
Distribution: jessie-staging
Urgency: high
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Description:
cgit - hyperfast web frontend for git repositories written in C
Closes: 812411
Changes:
cgit (0.10.2.git2.0.1-3+deb8u1) jessie-security; urgency=high
.
* Non-maintainer upload by the Security Team.
* CVE-2016-1899: Reflected XSS and header injection in mimetype query
string (Closes: #812411)
* CVE-2016-1900: Stored cross site scripting and header injection in
filename parameter (Closes: #812411)
* CVE-2016-1901: Integer overflow resulting in buffer overflow
(Closes: #812411)
* filters: apply HTML escaping.
Addresses cross-site scripting vulnerability in via the
txt2html filter.
Checksums-Sha1:
ce0f12faea65a4837572b5c35c02d7d7c2f88181 375730 cgit_0.10.2.git2.0.1-3+deb8u1_armhf.deb
Checksums-Sha256:
fbffd07a81f552e193a573a159468e34a9545df40f1271a60e07f39b76db9bff 375730 cgit_0.10.2.git2.0.1-3+deb8u1_armhf.deb
Files:
28bb877e982a43b362dafd25d9d220bc 375730 net extra cgit_0.10.2.git2.0.1-3+deb8u1_armhf.deb
+------------------------------------------------------------------------------+
| Package contents |
+------------------------------------------------------------------------------+
cgit_0.10.2.git2.0.1-3+deb8u1_armhf.deb
---------------------------------------
new debian package, version 2.0.
size 375730 bytes: control archive=2082 bytes.
50 bytes, 2 lines conffiles
1139 bytes, 30 lines control
1677 bytes, 23 lines md5sums
297 bytes, 12 lines * postinst #!/bin/sh
339 bytes, 15 lines * postrm #!/bin/sh
368 bytes, 15 lines * prerm #!/bin/sh
Package: cgit
Version: 0.10.2.git2.0.1-3+deb8u1
Architecture: armhf
Maintainer: Alexander Wirt <formorer@debian.org>
Installed-Size: 893
Depends: libc6 (>= 2.7), liblua5.1-0, libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.2.0)
Recommends: python, apache2 (>= 2.4.10~) | httpd
Section: net
Priority: extra
Multi-Arch: foreign
Homepage: http://git.zx2c4.com/cgit/
Description: hyperfast web frontend for git repositories written in C
This is an attempt to create a fast web interface for the Git SCM, using a
built-in cache to decrease server I/O pressure.
.
Features:
* basic repository browsing (logs, diffs, trees...)
* caching of generated HTML
* cloneable URLs (implements dumb HTTP transport)
* commit feeds (atom format)
* discovery of Git repositories
* on-the-fly archives for tags and commits
* plugin support for e.g. syntax highlighting
* side-by-side diffs
* simple time/author statistics
* simple virtual hosting support (macro expansion)
* understands GitWeb project-lists
* understands gitweb.owner in Git config files
* has extensive filtering framework using scripts or a built-in lua
interpreter
drwxr-xr-x root/root 0 2016-04-07 22:38 ./
drwxr-xr-x root/root 0 2016-04-07 22:38 ./etc/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./etc/apache2/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./etc/apache2/conf-available/
-rw-r--r-- root/root 231 2016-04-07 22:38 ./etc/apache2/conf-available/cgit.conf
-rw-r--r-- root/root 93 2016-04-04 06:43 ./etc/cgitrc
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/
drwxr-xr-x root/root 0 2016-04-07 22:37 ./usr/lib/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/lib/cgit/
-rwxr-xr-x root/root 807296 2016-04-07 22:38 ./usr/lib/cgit/cgit.cgi
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/lib/cgit/filters/
-rwxr-xr-x root/root 1051 2016-04-07 22:38 ./usr/lib/cgit/filters/about-formatting.sh
-rwxr-xr-x root/root 1007 2016-04-07 22:38 ./usr/lib/cgit/filters/commit-links.sh
-rw-r--r-- root/root 704 2016-04-07 22:38 ./usr/lib/cgit/filters/email-gravatar.lua
-rwxr-xr-x root/root 1381 2016-04-07 22:38 ./usr/lib/cgit/filters/email-gravatar.py
-rw-r--r-- root/root 654 2016-04-07 22:38 ./usr/lib/cgit/filters/email-libravatar.lua
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/
-rwxr-xr-x root/root 217 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/man2html
-rwxr-xr-x root/root 55 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/md2html
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/resources/
-rwxr-xr-x root/root 42788 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/resources/markdown.pl
-rw-r--r-- root/root 57 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/resources/rst-template.txt
-rwxr-xr-x root/root 76 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/rst2html
-rwxr-xr-x root/root 114 2016-04-07 22:38 ./usr/lib/cgit/filters/html-converters/txt2html
-rw-r--r-- root/root 6645 2016-04-07 22:38 ./usr/lib/cgit/filters/simple-authentication.lua
-rwxr-xr-x root/root 1745 2016-04-07 22:38 ./usr/lib/cgit/filters/syntax-highlighting.py
-rwxr-xr-x root/root 4528 2016-04-07 22:38 ./usr/lib/cgit/filters/syntax-highlighting.sh
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/cgit/
-rw-r--r-- root/root 12395 2016-04-07 22:38 ./usr/share/cgit/cgit.css
-rw-r--r-- root/root 1488 2016-04-07 22:38 ./usr/share/cgit/cgit.png
-rw-r--r-- root/root 1078 2016-04-07 22:38 ./usr/share/cgit/favicon.ico
-rw-r--r-- root/root 47 2016-04-07 22:38 ./usr/share/cgit/robots.txt
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/doc/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/doc/cgit/
-rw-r--r-- root/root 584 2016-04-04 06:43 ./usr/share/doc/cgit/changelog.Debian.gz
-rw-r--r-- root/root 18172 2016-04-04 06:43 ./usr/share/doc/cgit/copyright
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/lintian/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 159 2016-04-04 06:43 ./usr/share/lintian/overrides/cgit
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/man/
drwxr-xr-x root/root 0 2016-04-07 22:38 ./usr/share/man/man5/
-rw-r--r-- root/root 9551 2016-04-07 22:38 ./usr/share/man/man5/cgitrc.5.gz
+------------------------------------------------------------------------------+
| Post Build |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build-Space: 177804
Build-Time: 1288
Distribution: jessie-staging
Host Architecture: armhf
Install-Time: 514
Job: cgit_0.10.2.git2.0.1-3+deb8u1
Machine Architecture: armhf
Package: cgit
Package-Time: 1874
Source-Version: 0.10.2.git2.0.1-3+deb8u1
Space: 177804
Status: successful
Version: 0.10.2.git2.0.1-3+deb8u1
--------------------------------------------------------------------------------
Finished at 20160407-2238
Build needed 00:31:14, 177804k disc space