mrafols / wbar

Automatically exported from code.google.com/p/wbar
GNU General Public License v3.0
0 stars 0 forks source link

error: variable 'tmp' set but not used [-Werror=unused-but-set-variable] #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Trying to build a package for Arch Linux in clean chroot
2. http://www.archlinux.org/packages/community/i686/wbar/

What is the expected output? What do you see instead?
Instead of getting a build package ready to install, compiling ends with 
following error:

<snip>
O2 -pipe -MT wbar_config-Functions.o -MD -MP -MF 
.deps/wbar_config-Functions.Tpo -c -o wbar_config-Functions.o `test -f 
'../src/config/Functions.cc' || echo './'`../src/config/Functions.cc
../src/config/Run.cc: In member function 'int Run::getPID()':
../src/config/Run.cc:36:15: error: variable 'tmp' set but not used 
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make[2]: *** [wbar_config-Run.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/wbar_config-Functions.Tpo .deps/wbar_config-Functions.Po
make[2]: Leaving directory `/build/src/wbar-2.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/wbar-2.2.1'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Arch Linux up-to-date
wbar-2.2.1.tar.gz source

Please provide any additional information below.

http://pastebin.com/Agr0u5pK

Targets (55): atk-2.0.0-1  xproto-7.0.21-1  xcb-proto-1.6-2  libxdmcp-1.1.0-1
              libxau-1.0.6-1  libxcb-1.7-2  kbproto-1.0.5-1  libx11-1.4.3-2
              renderproto-0.11.1-1  libxrender-0.9.6-1  libpng-1.4.5-1  freetype2-2.4.4-2
              fontconfig-2.8.0-1  pixman-0.20.2-1  cairo-1.10.2-2  libxft-2.2.0-1
              libdatrie-0.2.4-1  libthai-0.1.15-1  pango-1.28.4-2  xextproto-7.2.0-1
              fixesproto-5.0-1  libxfixes-5.0-1  libxcursor-1.1.11-1  libxext-1.3.0-1
              xineramaproto-1.2.1-1  libxinerama-1.1.1-1  randrproto-1.3.2-1
              libxrandr-1.3.1-1  inputproto-2.0.1-1  libxi-1.4.2-1
              compositeproto-0.4.2-1  libxcomposite-0.4.3-1  damageproto-1.2.1-1
              libxdamage-1.1.3-1  libsasl-2.1.23-5  libldap-2.4.24-1  keyutils-1.4-1
              krb5-1.9.1-1  libtasn1-2.9-1  gnutls-2.12.4-1  libxml2-2.7.8-1
              shared-mime-info-0.90-1  libjpeg-turbo-1.1.0-1  libtiff-3.9.5-1
              libdaemon-0.14-1  dbus-1.4.8-1  avahi-0.6.30-2  libcups-1.4.6-2
              gdk-pixbuf2-2.23.3-1  gtk-update-icon-cache-2.24.4-2  gtk2-2.24.4-2
              libglade-2.6.4-2  giflib-4.1.6-4  libid3tag-0.15.1b-6  imlib2-1.4.4-1

Original issue reported on code.google.com by jaroslav...@gmail.com on 14 May 2011 at 9:25

GoogleCodeExporter commented 8 years ago
ok, thanks
Muchas gracias

Original comment by yadick...@gmail.com on 20 May 2011 at 4:08

GoogleCodeExporter commented 8 years ago
new release 2.2.2

Original comment by yadick...@gmail.com on 20 May 2011 at 4:43