We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Running PC-Lint... PC-lint for C/C++ (NT) Ver. 8.00o, Copyright Gimpel Software 1985-2004 C:\StellarisWare2\boards\rdk-s2e\ser2enet\config.c(25,9): Error 322: Unable to open include file 'string.h'
I'm having the same issue here.
My setup is PC-Lint 9.
C:\Keil\ARM\RV31\INC\string.h(50,66): Error 10: Expecting ';' C:\Keil\ARM\RV31\INC\string.h(50,99): Error 161: Repeated use of parameter '__restrict' in parameter list C:\Keil\ARM\RV31\INC\stdio.h(76,8): Error 129: declaration expected, identifier 'fpos_t' ignored C:\Keil\ARM\RV31\INC\stdio.h(76,8): Error 19: Useless Declaration C:\Keil\ARM\RV31\INC\stdio.h(183,53): Error 10: Expecting ';' ...
I click on the first error, and it leads me to the <string.h>, default header file of RV
extern _ARMABI void *memcpy(void * __restrict /*s1*/, const void * __restrict /*s2*/, size_t /*n*/) __attribute__((__nonnull__(1,2)));
I assume that Lint doesn't like the "__attribute__" , "__restrict" things.
Do you have any suggestion?
Thank you and Best regards,
Huy