u_print_warning is not a member of APT_TOFunctions
Posted: Fri Apr 22, 2005 2:06 pm
We receive a compiler error when compiling a job that includes transformer stage. The error message is as follows:
"TransformerTest_Transformer_2.C", line 404: Error: u_print_warning is not a member of APT_TOFunctions."
APT_TOFunctions is listed in the tfmop_functions.h file, but I do not see a method named u_print_warning. This leads me to suspect that we have outdated library files.
Also, this error message is kind of deceptive, as I infer from the generated code below that u_print_warning is really a "method" not a "member" of APT_TOFunctions.
Generated code is as follows:
void APT_TransformOperatorImplV0S16_lovTest1_Transformer_16::processRejectRecord(const APT_UString &errMsg,
const APT_UString &warningMsg,
APT_Int32 rejectDs)
{
// Output the log if we are not to the limit or if
// always log (any negative value) is set
if (rejectLogCount < maxRejectLogs ||
maxRejectLogs < 0)
{
APT_TOFunctions::get().u_print_warning(errMsg);
rejectLogCount++;
if (rejectLogCount == maxRejectLogs)
{
// output a log warning that this is the last reject log you will see
APT_TOFunctions::get().u_print_warning(warningMsg);
}
}
// Set the value of the reject column
if (rejectDs > 0)
transferAndPutRecord(rejectDs);
}
We are running EE 7.1r2 on SunOS 5.8.
Thank you for any assistance,
Larry
"TransformerTest_Transformer_2.C", line 404: Error: u_print_warning is not a member of APT_TOFunctions."
APT_TOFunctions is listed in the tfmop_functions.h file, but I do not see a method named u_print_warning. This leads me to suspect that we have outdated library files.
Also, this error message is kind of deceptive, as I infer from the generated code below that u_print_warning is really a "method" not a "member" of APT_TOFunctions.
Generated code is as follows:
void APT_TransformOperatorImplV0S16_lovTest1_Transformer_16::processRejectRecord(const APT_UString &errMsg,
const APT_UString &warningMsg,
APT_Int32 rejectDs)
{
// Output the log if we are not to the limit or if
// always log (any negative value) is set
if (rejectLogCount < maxRejectLogs ||
maxRejectLogs < 0)
{
APT_TOFunctions::get().u_print_warning(errMsg);
rejectLogCount++;
if (rejectLogCount == maxRejectLogs)
{
// output a log warning that this is the last reject log you will see
APT_TOFunctions::get().u_print_warning(warningMsg);
}
}
// Set the value of the reject column
if (rejectDs > 0)
transferAndPutRecord(rejectDs);
}
We are running EE 7.1r2 on SunOS 5.8.
Thank you for any assistance,
Larry