Problem:
Release: Net Express 5.0 .NET & Visual Studio 2005
Coming up with sources from SP2, using a comp-5 redefinition and compiling this under
Net Express 5.0.NET:
10 SP2-CD-MENU-ID PIC S9(4) COMP-5.
10 SP2-CD-CTRL-FIELD-KEY REDEFINES SP2-CD-MENU-ID
PIC S9(4) COMP-5.
10 SP2-CD-BUTTON-ID REDEFINES SP2-CD-MENU-ID
PIC S9(4) COMP-5.
gets a warning back about using this COMP-5 redefintion, s. attachment snapshot.xml.
Resolution:
(1) First, this is a hint that COMP-5 redefinitions will be used for data items having a different behaviour in regard with the sign being used, for more information please see:
ms-help://MS.VSCC.v80/MF.NXNET.2005/CompilerDirectives/rhcdir20.htm
(2) To suppress this warning while compiling the sources use compiler directive WARNING"1" or NOWARNING respectively., please see:
ms-help://MS.VSCC.v80/MF.NXNET.2005/CompilerDirectives/rhcdir77.htm