"Weird language detected!"



Hi,

On the #hawkeyenet project, the code analysis engine has some weird behavior:

  • 2 lines of modula-2 code appear (and I wouldn't know how to write a Hello World in modula)

  • The C++ code is recognized as C++ for 99%, but there remains 6 lines of C (including 3 comments). How does the engine can decide what is C and what is C++ (the .h maybe?)

Avatar

odalet

over 2 years ago
 

Got it for the C detection:

stdafx.h (Microsoft VC++ generated file) is considered to be C. Maybe because there is no C++ specific keyword in it

Avatar

odalet

over 2 years ago
 

It seems the two mis-detected languages have been fixed. Only C#, XML and C++ remain.

Avatar

odalet

over 2 years ago
 



 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.