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]
Hi
i just downloaded Ohcount 3.0 archive i read the readme and installed 'bash, pcre, gcc, ragel and swig' when i type './build' it eventually stops and says:
'Building src/parser.c (will take a while)
cc1: error: unrecognized command line option -Wno-pointer-to-int-cast
'
Does anyone know whats wrong?
uname -r: 2.6.18-93.cc4
/proc/version: Linux version 2.6.18-93.cc4 ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Mon Aug 11 20:37:16 EDT 2008
Thanks.
Hi fuzeman,
It seems you have an old version of gcc. 4.1.2 is the first version that I can confirm has this option.
If you're unable to update your gcc, you might have more luck with the repo available at: http://github.com/andy2/ohcount/commit/9362eb0916da33ddc102401b24faf01f990e9f0f It's an incomplete port to an autoconf based build system.