Hopefully this will help...
The "non-reentrant function" message is IMO a message rather than a warning and can be safely ignored. If you really want to disable this message, then you have 2 choices:
- Edit the "pic_xc8_comp.bat" file and add 1510 to the disabled messages list: "--MSGDISABLE=359,1273,1388,1510"
- Add the line "#pragma warning disable 1510" into the 'declarations' section of supplementary code
The first option will affect all 16-bit PIC projects compiled, and the second will only affect this project.
The other message (about the debug bit) can also be ignored. It can possibly be removed by setting the "BKBUG" ("Background Debug") config setting to "enabled" (via the "project options" screen).
Personally I would prefer to keep these messages displayed in the compiler output. They are not showing anything wrong with the project and are potentially useful messages that help explain what the compiler and debugger are doing. I would try to explain this to your customer, but if they insist on removing these messages, then the above should work.