If your source code has the extension .c
and you are including
some OCL #includes, then the compiler may generate many errors which seem to
come from the IBMCPP include files. These errors are generated because the
compiler assumes that .c
files only contain C code, not C++,
and the OCL include files require the compiler to be in the C++ mode.
To get around this problem, use the compiler flag /Tdp
to tell
the VAC++ to treat all files as C++ files.
Some of the errors you may be seeing include the following: