Package: vim-youcompleteme
Version: 0+20161219+git194ff33-1
Severity: normal
Given this source file:
#include <stdio.h>
#include <stdbool.h>
void main(void)
{
bool a = false;
}
With the packaged 'vim-youcompleteme' a :YcmForceCompileAndDiagnostics call
gives me the error message
use of undeclared identifier 'bool'
in the "bool a = false;" line. Using a self-compiled vim-youcompleteme
(60f3db14d51bf74994fdcbb1a6dd5438f81beda6) doesn't show this error message,
which is correct (because of the "stdbool.h" include).
I don't know whether this is simply a problem with the specific version
of vim-youcompleteme, or whether it's some packaging problem.
It seems to be using the same clang 3.9 infrastructure (/proc/.../maps says
~/.config/nvim/bundle/YouCompleteMe/third_party/ycmd/libclang.so.3.9),
so at least the clang version is not the difference.
(Though it might be nice to use clang 5 or so...)
Thank you for any help you can offer.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages vim-youcompleteme depends on:
ii python3-frozendict 0.5-1
ii python3-future 0.15.2-4
ii python3-requests 2.12.4-1
ii python3-requests-futures 0.9.7-1
pn python3:any <none>
ii vim-athena [vim-python] 2:8.0.0197-2
ii vim-gtk3 [vim-python] 2:8.0.0197-2
ii ycmd 0+20161219+git486b809-1
Versions of packages vim-youcompleteme recommends:
ii vim-addon-manager 0.5.6
vim-youcompleteme suggests no packages.
-- no debconf information