Bug 328809 - error on completing definitions from time.h
Summary: error on completing definitions from time.h
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.5.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-14 19:11 UTC by Barade
Modified: 2016-05-16 21:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The bug has already been resolved. (653.15 KB, image/png)
2016-04-17 22:25 UTC, Sumeet Tulsani
Details
attachment-31826-0.html (1.05 KB, text/html)
2016-04-18 12:23 UTC, Sumeet Tulsani
Details
The bug has already been Resolved (206.51 KB, image/png)
2016-05-16 06:35 UTC, Sumeet Tulsani
Details
The bug has already been Resolved (206.23 KB, image/png)
2016-05-16 06:37 UTC, Sumeet Tulsani
Details
The bug has already been Resolved (200.85 KB, image/png)
2016-05-16 06:38 UTC, Sumeet Tulsani
Details
The bug has already been Resolved (202.95 KB, image/png)
2016-05-16 06:41 UTC, Sumeet Tulsani
Details

Note You need to log in before you can comment on or make changes to this bug.
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?