This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239938 - Erroneous Report of Errors
Summary: Erroneous Report of Errors
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 22:12 UTC by aschwarz1309
Modified: 2014-01-10 17:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen Shot (190.09 KB, application/pdf)
2014-01-10 16:06 UTC, aschwarz1309
Details
SLIP Project Source Code (216.24 KB, application/x-bzip2)
2014-01-10 17:08 UTC, aschwarz1309
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aschwarz1309 2014-01-02 22:12:26 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56

cygwin gcc (GCC) 4.8.2 64-bit

Give me some feedback on this will you. I have gotten erroneous errors for the last several releases of Netbeans and yeah, there has been some progress made - I don't see a cascade of errors any more, but I do see some. In my current file, # include <string> is recognized as an error and each use of 'string' in my file is marked as an error. And yeah, "using namespace std;" has been included. 

It's just irritating. And it happens all the time and it happens with different include files, and sometimes arguments and variables are flagged as erroneous leading to the use of arguments and variables flagged in a similar fashion. In this regard, maybe you can just flag the variable and/or argument and forget about the uses (or leave it as an option).

i hate to beat a dead horse. Give me some feedback and I'll stop complaining.

art 
(and yep, this is a great product and you are doing a wonderful job).
Comment 1 Vladimir Voskresensky 2014-01-10 10:29:21 UTC
#<any number of spaces>include<any number of spaces><string>

works for me just fine.
Could you, please, Ctrl+Alt+hover your problematic include directive and copy paste content of tooltip
Comment 2 aschwarz1309 2014-01-10 15:44:53 UTC
Unable to resolve identifier ...

(Alt-Enter shows hints)

This is the same message I get with hover. There is no difference when I use Ctl-Alt+hover. Is this what you expected?
Comment 3 Vladimir Voskresensky 2014-01-10 15:47:43 UTC
Could you attach screen shot, please.

I'm asking for screenshot where I can see 
# include <string>
underlined with red
and you hover 
# include 
with Ctrl+Alt

Thanks
Vladimir
Comment 4 aschwarz1309 2014-01-10 16:06:52 UTC
Created attachment 143804 [details]
Screen Shot

Screen shot with tooltip display. The source code is available (tar'd at about 221Kb w/88 files.
Comment 5 Vladimir Voskresensky 2014-01-10 16:41:20 UTC
Btw, originally you complained:
# include <string> is recognized as an error 
I'm asking to verify that it is not marked as an error anymore

Btw, where is the mentioned source code?
Comment 6 aschwarz1309 2014-01-10 17:08:37 UTC
Created attachment 143812 [details]
SLIP Project Source Code

Ya' want it. Ya' got it. here's the source code.

tar xfj slip_201401051.tar.bz2
will output the code into a single folder (slip) with all header (*.h) and source (*.cpp) files plus the doxygen configuration file (Doxygen). There are 88 files which should compile error free using gcc. This is a work in progress so expect typo's and malapropisms in the comments. A reference manual can be generated with Doxygen doxygen. It will create a folder(s) at ../DOC/ReferenceManual. The I/O is currently being worked on and I hope to complete it very shortly.

Caveats and Exceptions:
You are free to use, change, and distribute copies of this code without exception only that the original author be referenced. There is no guarantee of anything. Caveat Emptor. If you do something new and/or novel, advertise it - don't keep it a secret.