OSDN: Open Source Development NetworkNewsletters - Jobs  SEARCH:   

Counter

Logged In: tim_littlefair
Logout  
Register New Project  
Account Maintenance  

Change My Theme  
My Personal Page  

Bookmark this page  

Search

Require All Words


Project: C and C++ Code Counter
Project Summary  

Project Admin  

Software
Software Map  
New Releases  
Other Site Mirrors  
Code Snippet Library  

SourceForge.net
Site Docs  
Work for Sourceforge!  
Discussion Forums  
Project Help Wanted  
Top Projects  
Site Status  
Contact Support  

jobs.osdn.com  

Compile Farm  

Contact SourceForge.net  
About SourceForge.net  

SourceForge.net Foundries
About Foundries  

Clustering  
Distributed Computing  
Linux on Large Systems  
Linux Kernel  
Linux Drivers  
3D  
Games  
Java  
Printing  
Storage  

 
Project: C and C++ Code Counter

Trackers


Summary |  Admin |  Home Page |  Forums |  Tracker |  Bugs |  Support |  Lists |  Tasks |  News |  Files | 

Submit New | Browse | Reporting | Admin

[ #233585 ] Does not handle namespace declarations

 (?)
Submitted By:
Victor B. Putz (vputz)
Date Submitted:
2001-02-22 12:45
Data Type: (?)
Category: (?)
 (admin)
Group: (?)
 (admin)
Assigned To: (?)
 (admin)
Priority: (?)
Status: (?)
Resolution: (?)
Summary: (?)
Current version of cccc does not appear to handle namespace declarations. The following program compiles under gcc 2.96-69 but generates errors when parsed under gcc:

namespace a {
void b( void );
};

void a::b( void )
{
}

CCCC generates the following output:

Parsing
Processing test.cpp as C/C++ (c++.ansi)
test.cpp(2): syntax error at token void
Parser context:
test.cpp(1): trying to match namespace_block at 'namespace
test.cpp(1): trying to match link_item at 'namespace
test.cpp(1): trying to match start at 'namespace

test.cpp(3): syntax error at token }
Parser context:
test.cpp(3): trying to match start at '}
test.cpp(2): trying to match start at 'void
test.cpp(1): trying to match start at 'namespace



Unlike my other reports, I cannot seem to restate the code in a manner acceptable to CCCC.

-->VPutz
Use Canned Response: (?)
 (admin)

OR Attach A Comment: (?)

Followups:

No Followups Have Been Posted

Check to Upload & Attach File: (?)

File Description:

Existing Files:

Delete Name Description Download
No Files Currently Attached

Change Log:

No Changes Have Been Made to This Item

 

 

Show Source