Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Project not updated; also displays wrong language

My eternityengine project hasn't updated for 27 days; it says it failed at that time. I kept expecting it to eventually work again but so far, nothing.

The primary language of my project also changed unexpectedly from C to C++. There are approximately 140000 lines of C code in my project, and maybe 1000 or less lines of C++, but it has changed to mainly in C++, which is misleading. Is there something I can change to affect this assessment?

Quasar almost 15 years ago
 

Hi Quasar,

It looks like we had some trouble connecting to the Subversion server, but everything seems to be OK now. I've rescheduled the updates, and I'll keep an eye on it today.

I took a look through the code, and it seems that our parser is being misled by Emacs style mode headers in every *.c and *.h file:

// Emacs style mode select -- C++ --

Our parser sees this, and assumes that the file must contain C++ code. When these Emacs style mode headers are removed, our parser again treats these files as plain C.

If you want to experiment with our line counter, it's pretty easy to use once you get it to build (not always so easy):

http://sourceforge.net/projects/ohcount/develop

Thanks,
Robin

Robin Luckey almost 15 years ago
 

Thanks for the help; I had suspected those Emacs header lines but didn't know for sure. They date back to the codebase on which we originally built our project, which had intended to move from C to C++ in the future. That never happened though :)

Quasar almost 15 years ago