Your message dated Sat, 3 Nov 2018 13:49:41 +0100
with message-id <20181103124941.GA13687@crossbow>
and subject line Re: Bug#855369: vim-youcompleteme: Bad error/warning message
has caused the Debian Bug report #855369,
regarding vim-youcompleteme: Bad error/warning message
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
855369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855369
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 0+20181101+gitfaa019a-0.1

Hi Philipp Marek,

On Fri, Feb 17, 2017 at 09:57:04AM +0100, Philipp Marek wrote:
> 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'

Thanks for the detailed report! I just feed this to the most recent release of
vim-youcompleteme and thankfully it reports a bunch of diagnostics – but not
the bool one; only the correct ones about "void main" and the "unused a".

So that seems to be resolved by now. I can't claim that this is due to the new
version, but given that it works for me & a lot of changes happen under the
hood (like we are using clang-7 now instead of the very old 3.9) it seems
reasonable to mark this report as done – but don't trust me on that, feel free
to check and report back if it still happens!


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to