Macro redefinition error

avishek

Active Member
Hi,

While building an NER, I obtain the following error:

E:\E910\DV910\include\b4301300.h(50) : warning C4005: 'ERR_RECORD_NOT_FOUND' : macro redefinition
E:\E910\DV910\include\b59vo112.h(70) : see previous definition of 'ERR_RECORD_NOT_FOUND'

Can you please let me know how I can find a solution for the errors?
Please help.

Thanks
----------------------------
JD Edwards 9.1
Developer
 
Looks like ERR_RECORD_NOT_FOUND is defined in both header files.

Usually you'd put #ifndef ERR_RECORD_NOT_FOUND .. #endif around the defines, but in your case, since b59vo112 looks to be a custom bsfn, go over the code of that one, see if all is correct, the define is necessary, etc.
 
Back
Top