Menu

#8 Bug in the configure file

open
nobody
None
5
2011-04-29
2011-04-29
No

In the "configure" file (at line 516), in the C++ test code, there is a printf:
printf("%d\n", a);

But stdio.h is not declared, so a compiler error occur and configure do not find a C++ compiler:

checking whether the C++ compiler ( cxx ) works...no
checking whether the C++ compiler ( xlC ) works...no
checking whether the C++ compiler ( sxCC ) works...no
checking whether the C++ compiler ( pgCC ) works...no
checking whether the C++ compiler ( g++ ) works...no
can't find a C++ compiler

It would be better to have this line instead:
cout << a << endl;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB