[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 238772] New: The "Problem" box shows "Unexpected token '('"
From: Philipp Rosenberger <philipp () iluminat23 ! org>
Date: 2010-05-25 9:13:38
Message-ID: bug-238772-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=238772
Summary: The "Problem" box shows "Unexpected token '('" when
using FD_ZERO macro from select.h
Product: kdevelop
Version: 4.0.0
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: philipp@iluminat23.org
Version: 4.0.0 (using KDE 4.4.3)
OS: Linux
When using one of the FD_* macros from select.h the Problems dialog shows
"Unexpected token '('"
Reproducible: Always
Steps to Reproduce:
from man select:
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
int
main(void)
{
fd_set rfds;
struct timeval tv;
int retval;
/* Watch stdin (fd 0) to see when it has input. */
FD_ZERO(&rfds);
FD_SET(0, &rfds);
/* Wait up to five seconds. */
tv.tv_sec = 5;
tv.tv_usec = 0;
retval = select(1, &rfds, NULL, NULL, &tv);
/* Don't rely on the value of tv now! */
if (retval == -1)
perror("select()");
else if (retval)
printf("Data is available now.\n");
/* FD_ISSET(0, &rfds) will be true. */
else
printf("No data within five seconds.\n");
exit(EXIT_SUCCESS);
}
Actual Results:
Unexpected token '(' source:parser line:15 col:19
Unexpected token ')' source:parser line:15 col:19
Unexpected token ')' source:parser line:15 col:19
Unexpected token ')' source:parser line:15 col:19
Unexpected token ')' source:parser line:15 col:19
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic