Menu

#1 segmenation fault on standard types.h

open
nobody
None
5
2001-04-04
2001-04-04
Anonymous
No

I downloaded and compiled cproto v4.6. However, when
I attempt to execute it against my "C" source, I get a
segmentation fault. Just prior to the fault, an error
referencing line 37 of /usr/includes/bits/types.h
(copy attached) is issued. I suspect cproto does not
like the "long long" in the typedef on line 37.

Discussion

  • Nobody/Anonymous

    /usr/includes/bits/types.h

     
  • Nobody/Anonymous

    Logged In: NO

    I've got a patch, but when I submitted it to sourceforge I
    got a server error. Contact me for details.

     
  • Juan Sanchez

    Juan Sanchez - 2004-05-28

    Logged In: YES
    user_id=892200

    If I do
    cproto -D__GNUC__ file.c

    The program no longer seg faults and it seems to work.

     

Log in to post a comment.