Bug 328809

Summary: error on completing definitions from time.h
Product: [Applications] kdevelop Reporter: Barade <barade.barade>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal CC: sumeettulsani1
Priority: NOR    
Version First Reported In: 4.5.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The bug has already been resolved.
attachment-31826-0.html
The bug has already been Resolved
The bug has already been Resolved
The bug has already been Resolved
The bug has already been Resolved

Description Barade 2013-12-14 19:11:40 UTC
My project uses CMake as build system and the C++ completion doesn't find the following functions and types:
timer_create
timer_gettime
timer_settime
itimerspec
etc.

In my .cpp file there are the following include statements:
#include <stdlib.h> // exit
#include <sys/signal.h>

#include <signal.h> // POSIX timer functions

#include <iostream>

#include <sys/types.h>
#include <unistd.h>
#include <sys/msg.h>
#include <sys/ipc.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h> // POSIX timers

#include <deque>
#include <queue>

#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>

#include <sys/signal.h>

Reproducible: Always
Comment 1 Sumeet Tulsani 2016-04-17 22:25:41 UTC
Created attachment 98435 [details]
The bug has already been resolved.

The listed bug has been resolved, as shown in the attached image. I am using Ubuntu 15.10 to test the same.
Comment 2 Kevin Funk 2016-04-18 07:43:30 UTC
@Sumeet: Hm? Your screenshot shows something totally unrelated...
Comment 3 Sumeet Tulsani 2016-04-18 12:23:56 UTC
Created attachment 98445 [details]
attachment-31826-0.html

Hi Kevin,
              Hope you had a wonderful weekend. That upload was made by
mistake, I thought the changes were never saved by me, anyways I will
delete that and try resolving that bug sometime soon.

Thanks for the feedback.

Sumeet Tulsani.
On Apr 18, 2016 00:43, "Kevin Funk via KDE Bugzilla" <
bugzilla_noreply@kde.org> wrote:

https://bugs.kde.org/show_bug.cgi?id=328809

--- Comment #2 from Kevin Funk <kfunk@kde.org> ---
@Sumeet: Hm? Your screenshot shows something totally unrelated...

--
You are receiving this mail because:
You are on the CC list for the bug.
Comment 4 Sumeet Tulsani 2016-05-16 06:35:53 UTC
Created attachment 99004 [details]
The bug has already been Resolved

The screenshot shows the autocompletion detects  timer_settime method from time.h
Comment 5 Sumeet Tulsani 2016-05-16 06:37:16 UTC
Created attachment 99005 [details]
The bug has already been Resolved

The screenshot shows the autocompletion detects  timer_create method from time.h
Comment 6 Sumeet Tulsani 2016-05-16 06:38:25 UTC
Created attachment 99006 [details]
The bug has already been Resolved

The screenshot shows the autocompletion detects  itimerspec method from time.h
Comment 7 Sumeet Tulsani 2016-05-16 06:41:25 UTC
Created attachment 99007 [details]
The bug has already been Resolved

The screenshot shows the autocompletion detects  timer_gettime method from time.h
Comment 8 Kevin Funk 2016-05-16 21:19:56 UTC
@Sumeet: This shows the "Auto Word Completion" -- that's just the "stupid" word completion feature from Kate. We'd like to see real C/C++ completion entries.

Can you confirm they're working?