[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change to bool only partially done?
From: |
Jan Djärv |
Subject: |
Re: Change to bool only partially done? |
Date: |
Sat, 01 Sep 2012 18:30:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 |
2012-09-01 18:29, Jan Djärv skrev:
Hello.
After the change to bool I get lots of warnings about defvar_bool:
warning: passing argument 3 of 'defvar_bool' from incompatible pointer type
[enabled by default]
/home/jhd/src/emacs/quickfixes/src/lisp.h:1921:13: note: expected '_Bool *'
but argument is of type 'int *'
in these files:
Mail escaped- These files:
alloc.c charset.c coding.c dispnew.c emacs.c eval.c fileio.c filelock.c
fns.c frame.c image.c indent.c insdel.c keyboard.c lread.c minibuf.c
print.c process.c syntax.c term.c undo.c window.c xdisp.c xfns.c
xsettings.c xterm.c
% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror
--with-arch-32=i686 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
How can I get rid of these annoying warnings?
Jan D.
- Change to bool only partially done?, Jan Djärv, 2012/09/01
- Re: Change to bool only partially done?,
Jan Djärv <=
- Re: Change to bool only partially done?, Paul Eggert, 2012/09/01
- Re: Change to bool only partially done?, Jan Djärv, 2012/09/01
- Re: Change to bool only partially done?, Paul Eggert, 2012/09/01
- Re: Change to bool only partially done?, Jan Djärv, 2012/09/02
- Re: Change to bool only partially done?, Paul Eggert, 2012/09/02
- Re: Change to bool only partially done?, Jan Djärv, 2012/09/02
- Re: Change to bool only partially done?, Eli Zaretskii, 2012/09/02