Your message dated Sun, 3 Nov 2019 23:42:49 -1000
with message-id <[email protected]>
and subject line Re: Bug#766978: code completion does not work OK in codeblocks 
13.12
has caused the Debian Bug report #766978,
regarding code completion does not work OK in codeblocks 13.12
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.)


-- 
766978: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766978
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: codeblocks
Version: 13.12-3

In the C++ program given below code completion FAILS (and a symbol cannot be 
found).
Right-click on NOT_parsed_in_Linux, Find declaration, it is not found !

This narrowed down example shows that the problem is apparently
caused by the parser skipping all code inside an "#ifdef __cplusplus" block.

#include <iostream>
using namespace std;

typedef struct { int a; } Parsed_in_Linux_tp;

#ifdef __cplusplus
typedef struct { int a; } NOT_parsed_in_Linux_tp;
#endif // __cplusplus

int main()
{
    Parsed_in_Linux_tp P;
    P.a = 30;
    cout << P.a << endl;

    NOT_parsed_in_Linux_tp N;
    N.a = 40;
    cout << N.a << endl;

    return 0;
}

I am using Ubuntu 14.04.1 LTS, kernel 3.10.58+

________________________________
The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.

--- End Message ---
--- Begin Message ---
Version: 17.12+dfsg-1

Hi, thank you for your report, and sorry for the very late answer.

On Mon, Oct 27, 2014 at 11:08:42AM +0000, Dalfsen, Age van wrote:
> Package: codeblocks

> In the C++ program given below code completion FAILS

I’m not able to reproduce the issue with the latest 17.12+dfsg-1
version. I didn’t check if I was able to with 16.01+dfsg-2.1 as
available in buster, so maybe it has been fixed a while ago.

Regards

David

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to