Forums : The Ohcount Project

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.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]

[PULL] GCC warnings cleanup

Hey guys,

I sent out a pull request to both Andy and Robin on Github a long time ago but I haven't heard back.

Could someone pull the following set of fixes:

git://github.com/krajaratnam/ohcount.git gcc_warnings

Kovarththanan R... about 14 years ago
 

Hi Kovarththanan,

Sorry, I know it has been a long time since there has been any activity on ohcount. I finally pulled a lot of new changes recently.

I did try to pull this branch on Monday. Unfortunately, this caused a build failure on my development machine, so it was a non-starter.

http://pastebin.com/P5stWKbm

Unfortunately I don't have time to sort through it right now; I can revisit it when I have some free cycles. But since the patch only affects the build, not the final feature set, and it apparently makes the build worse for me, I'm not yet persuaded to pull the change :-)

Robin Luckey about 14 years ago
 

I understand your hesitation :) FWIW this worked fine on my box (Linux/GCC 4.4).

However, I think I tracked down the culprit. Can you pull again from the same branch?

Kovarththanan R... about 14 years ago
 

Note, the following testcases failed before my set of fixes:

1) Error:
testdiff(SourceFileTest):
NoMethodError: undefined method `language' for nil:NilClass
./source
filetest.rb:12:in `testdiff'

2) Error:
testemptydiff(SourceFileTest):
NoMethodError: undefined method language' for nil:NilClass
./source_file_test.rb:23:in
testemptydiff'

Kovarththanan R... about 14 years ago
 

If you want to write a better viewer, you should forget the current KParts one. It's slow. Or what do you mean?
If the file is bigger than 1 MByte we should use an own internal viewer, which is fast, but without syntax highlight? Actually, there's no such cpp, java files which are bigger than 1 MByte...

==============================
ccda

shaz almost 14 years ago