[MDEV-13212] warning: ISO C90 forbids mixed declarations and code Created: 2017-06-29  Updated: 2017-07-05  Resolved: 2017-07-03

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.2.6
Fix Version/s: 10.2.7

Type: Bug Priority: Minor
Reporter: Guillermo Céspedes Tabárez Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: compile, warning
Environment:

Debian 8.8 x32 - Digitalocean

  1. uname -a
    Linux framework 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) i686 GNU/Linux

Issue Links:
Duplicate
duplicates CONC-253 compile warnings Closed

 Description   

[ 41%] Building C object libmariadb/plugins/auth/CMakeFiles/auth_gssapi_client.dir/gssapi_client.c.o
/var/tmp/mariadb_build/mariadb_src/libmariadb/plugins/auth/gssapi_client.c: In function ‘auth_client’:
/var/tmp/mariadb_build/mariadb_src/libmariadb/plugins/auth/gssapi_client.c:79:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
gss_buffer_desc input=

{0,0}

;
^



 Comments   
Comment by Elena Stepanova [ 2017-07-03 ]

It used to happen in buildbot
http://buildbot.askmonty.org/buildbot/builders/kvm-deb-jessie-x86/builds/2391/steps/compile/logs/warnings%20%2860%29

But not anymore after this merge

commit 615b1f418944f2c1e3092eb89919a39dc11b365d
Merge: 72378a2 58f87a4
Author: Marko Mäkelä <marko.makela@mariadb.com>
Date:   Thu Jun 15 14:35:51 2017 +0300
 
    Merge 10.1 into 10.2

Generated at Thu Feb 08 08:03:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.