[splint-discuss] Parse error due to byteorder.h
rasmit.ranjan at wipro.com
rasmit.ranjan at wipro.com
Thu May 25 00:42:45 EDT 2006
> Message: 1
> Date: Wed, 24 May 2006 10:57:21 +1200 (NZST)
> From: "Richard A. O'Keefe" <ok at cs.otago.ac.nz>
> Subject: Re: [splint-discuss] Parse error due to byteorder.h
> To: splint-discuss at cs.virginia.edu
> Message-ID: <200605232257.k4NMvLaU067673 at atlas.otago.ac.nz>
>
> <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!
I replaced byteorder.h with endian.h in my module but it didn't work.
Still giving same error.
>
> 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?
>
No 'splint -help parseerrors' does not help as wel.
Then what next ? Is there any other way out?
>
> ------------------------------
Thanks,
Rasmit.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
More information about the splint-discuss
mailing list