compilation fails on Fedora Core 9

View: New views
2 Messages — Rating Filter:   Alert me  

compilation fails on Fedora Core 9

by Igor Filippov [Contr] :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could it be a problem with gcc 4.3.0?
Here is the log file:

OK. Now you can run make.
[igor@xaero ocrad-0.17]$ make
g++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
g++  -Wall -W -O2 -c -o common.o common.cc
common.cc: In member function ‘bool Charset::enable(const char*)’:
common.cc:84: error: ‘strcmp’ is not a member of ‘std’
common.cc: In member function ‘void Charset::show_error(const char*,
const char*) const’:
common.cc:106: error: ‘strcmp’ is not a member of ‘std’
common.cc: In member function ‘bool Filter::set(const char*)’:
common.cc:118: error: ‘strcmp’ is not a member of ‘std’
common.cc: In member function ‘void Filter::show_error(const char*,
const char*) const’:
common.cc:126: error: ‘strcmp’ is not a member of ‘std’
common.cc: In member function ‘bool Transformation::set(const char*)’:
common.cc:138: error: ‘strcmp’ is not a member of ‘std’
common.cc: In member function ‘void Transformation::show_error(const
char*, const char*) const’:
common.cc:146: error: ‘strcmp’ is not a member of ‘std’
common.cc: In member function ‘bool Control::set_format(const char*)’:
common.cc:157: error: ‘strcmp’ is not a member of ‘std’
common.cc:158: error: ‘strcmp’ is not a member of ‘std’
make: *** [common.o] Error 1

--
Igor Filippov [Contr] <igorf@...>



_______________________________________________
Bug-ocrad mailing list
Bug-ocrad@...
http://lists.gnu.org/mailman/listinfo/bug-ocrad

Re: compilation fails on Fedora Core 9

by Antonio Diaz Diaz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Igor Filippov [Contr] wrote:
> Could it be a problem with gcc 4.3.0?

Yes, it is.

I am making a new release in a couple days fixing it.


Thanks,
Antonio.


_______________________________________________
Bug-ocrad mailing list
Bug-ocrad@...
http://lists.gnu.org/mailman/listinfo/bug-ocrad