[splint-discuss] Parse error due to byteorder.h

Richard A. O'Keefe ok at cs.otago.ac.nz
Tue May 23 18:57:21 EDT 2006


<rasmit.ranjan at wipro.com> wrote:
	    I am facing some problem while using splint.
	I am getting parse error in byteorder.h. It is showing the following
	output.


	../../../../include/asm/byteorder.h:37:7:
	    Parse Error: (For help on parse errors, see splint -help
	parseerrors. )
	*** Cannot continue.
	make:*** [do_splint] Error 1


	So can anyone suggest any way to overcome this error ?

How about showing us the line(s) of code involved?

I note that the /usr/include/asm/byteorder.h on a Linux box I have access to
has a line

#warning using private kernel header; include <endian.h> instead!

and that its line 37 is just #endif.  So it's really not at all clear
what splint dislikes and won't be until you show us.

	Is there any flag which could help ? Please suggest.

What did 'splint -help parseerrors' say?


More information about the splint-discuss mailing list