Project

General

Profile

Bug #591

Updated by John Abbott over 7 years ago

Some versions of g++ (v4.3.2, v4.4.7, v4.6.3) and intel C++ compiler gave errors when compiling @ex-UtilsVector1.C@ if, in the file @degree.H@, the @#include@ directive for @UtilsVector.H@ was placed before the other @#include@ directives. The error produced rror produces indicated that some prototypes for @cmp@ were not visible (in ptic for two @MachineInt@s).

We have no idea why, but since several compilers complain we wonder whether it isn't a strange limitation of C++.

Logging the problem here. The solution is just to move the @#include@ directive in @degree.H@ to after the other two.

Back