Problems with C++ indexer [message #119249] |
Fri, 03 September 2004 07:24 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Han . Hoekstra . WirelessValue . Nl
Hello all,
Besides the problems with compiling my managed make project, I also have
problems reported by the C++ indexer, the first is :
Severity Description Resource In Folder Location Creation Time
1 C/C++ Indexer Problem: Attempt to use symbol failed : area_list in file:
C:\eclipse\workspace\BITSharp\Browser\Graphical\Gr_Click.cpp on line: 256.
Gr_Click.cpp BITSharp/Browser/Graphical line 256 September 2, 2004 5:15:39
PM
The code it is complaining about is the following :
-------------------------------------------------
250 void GroupRadioButtons (TClickableArea *area_list)
251 {
252 TClickableArea *CurArea, *LastRadioBut;
253
254 while (area_list != NULL) {
255 // Is this an input element and if so, a radio button ?
256 if (IS_RADIO_BUTTON (area_list->Area->Element)) {
257 if (area_list->Radio.Next == NULL) {
258 // Not yet part of a radio button group, check if this is
the
259 // start of a new group and if so find all radio buttons
for it
260 if (area_list->Area->Element.Input.Name != NULL) {
261 // Find all radio buttons for this group
262 LastRadioBut = area_list;
263 CurArea = area_list->Next;
So it does not complain about line 254, where my variable area_list is used
as well.
Further more I have a problem with one of the types it does not recognize :
Severity Description Resource In Folder Location Creation Time
1 C/C++ Indexer Problem: Attempt to use symbol failed : cyg_uint8 in file:
C:\eclipse\workspace\BITSharp\Thread.cpp on line: 64. Thread.cpp BITSharp
line 64 September 3, 2004 9:19:49 AM
The code for this is :
62 void StartThreads (void)
63 {
64 cyg_uint8 ThreadNo;
65
66 LogMessage (LOG_ID_INFORMATION, "Starting all the threads\n");
67
68 for (ThreadNo = 0; ThreadNo < NO_OF_THREADS; ThreadNo++) {
The header part file in which the type is defined looks as follows :
198
// ------------------------------------------------------------ -------------
199 // Define basic types for using integers in memory and structures;
200 // depends on compiler defaults and CPU type.
201
202 typedef unsigned cyg_halint8 cyg_uint8 ;
203 typedef signed cyg_halint8 cyg_int8 ;
204
205 typedef unsigned cyg_halint16 cyg_uint16 ;
206 typedef signed cyg_halint16 cyg_int16 ;
207
208 typedef unsigned cyg_halint32 cyg_uint32 ;
209 typedef signed cyg_halint32 cyg_int32 ;
210
211 typedef unsigned cyg_halint64 cyg_uint64 ;
212 typedef signed cyg_halint64 cyg_int64 ;
213
214 typedef cyg_halbool cyg_bool ;
This header file is a standard header file of the eCos RTOS, which works for
many people. Also the indexer does not have any problems when I change the
type in my code from cyg_uint8 to cyg_uint16.
Any ideas what the problem here is ?
Greetings,
Han
|
|
|
Re: Problems with C++ indexer [message #120280 is a reply to message #119249] |
Thu, 09 September 2004 01:17 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
John Camelon![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=jcamelon%40ca.ibm.com) Messages: 242 Registered: July 2009 |
Senior Member |
|
|
It's a bug.
bugs.eclipse.org.
Thanks
JC
"Han Hoekstra" <Han . Hoekstra @ WirelessValue . Nl> wrote in message
news:ch962c$gl9$1@eclipse.org...
> Hello all,
>
> Besides the problems with compiling my managed make project, I also have
> problems reported by the C++ indexer, the first is :
>
> Severity Description Resource In Folder Location Creation Time
> 1 C/C++ Indexer Problem: Attempt to use symbol failed : area_list in file:
> C:\eclipse\workspace\BITSharp\Browser\Graphical\Gr_Click.cpp on line: 256.
> Gr_Click.cpp BITSharp/Browser/Graphical line 256 September 2, 2004 5:15:39
> PM
>
> The code it is complaining about is the following :
> -------------------------------------------------
> 250 void GroupRadioButtons (TClickableArea *area_list)
> 251 {
> 252 TClickableArea *CurArea, *LastRadioBut;
> 253
> 254 while (area_list != NULL) {
> 255 // Is this an input element and if so, a radio button ?
> 256 if (IS_RADIO_BUTTON (area_list->Area->Element)) {
> 257 if (area_list->Radio.Next == NULL) {
> 258 // Not yet part of a radio button group, check if this
is
> the
> 259 // start of a new group and if so find all radio
buttons
> for it
> 260 if (area_list->Area->Element.Input.Name != NULL) {
> 261 // Find all radio buttons for this group
> 262 LastRadioBut = area_list;
> 263 CurArea = area_list->Next;
>
> So it does not complain about line 254, where my variable area_list is
used
> as well.
>
> Further more I have a problem with one of the types it does not recognize
:
>
> Severity Description Resource In Folder Location Creation Time
> 1 C/C++ Indexer Problem: Attempt to use symbol failed : cyg_uint8 in file:
> C:\eclipse\workspace\BITSharp\Thread.cpp on line: 64. Thread.cpp BITSharp
> line 64 September 3, 2004 9:19:49 AM
>
> The code for this is :
> 62 void StartThreads (void)
> 63 {
> 64 cyg_uint8 ThreadNo;
> 65
> 66 LogMessage (LOG_ID_INFORMATION, "Starting all the threads\n");
> 67
> 68 for (ThreadNo = 0; ThreadNo < NO_OF_THREADS; ThreadNo++) {
>
> The header part file in which the type is defined looks as follows :
> 198
>
>
>
>
// ------------------------------------------------------------ -------------
> 199 // Define basic types for using integers in memory and structures;
> 200 // depends on compiler defaults and CPU type.
> 201
> 202 typedef unsigned cyg_halint8 cyg_uint8 ;
> 203 typedef signed cyg_halint8 cyg_int8 ;
> 204
> 205 typedef unsigned cyg_halint16 cyg_uint16 ;
> 206 typedef signed cyg_halint16 cyg_int16 ;
> 207
> 208 typedef unsigned cyg_halint32 cyg_uint32 ;
> 209 typedef signed cyg_halint32 cyg_int32 ;
> 210
> 211 typedef unsigned cyg_halint64 cyg_uint64 ;
> 212 typedef signed cyg_halint64 cyg_int64 ;
> 213
> 214 typedef cyg_halbool cyg_bool ;
>
> This header file is a standard header file of the eCos RTOS, which works
for
> many people. Also the indexer does not have any problems when I change the
> type in my code from cyg_uint8 to cyg_uint16.
>
> Any ideas what the problem here is ?
>
> Greetings,
> Han
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03168 seconds