Share

Gcc Abstract Syntax Tree Analysis

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Am getting the compilation errors....

You are viewing a single message from this topic. View all messages.

  1. 2007-08-24 04:42:41 UTC
    Am found this tool link through splint site...
    Downloaded and trying to compile on Cygwin, just got the errors...(can i say its due to some library
    installation missed out), from the glib.h not found...

    ------------------snip-------------------------------------------
    convertAsg.y:17:18: glib.h: No such file or directory
    In file included from convertAsg.y:18:
    genGraph.h:48: error: parse error before "GString"
    genGraph.h:48: warning: no semicolon at end of struct or union
    genGraph.h:49: warning: type defaults to `int' in declaration of `value'
    genGraph.h:49: error: ISO C forbids data definition with no type or storage class
    genGraph.h:52: error: parse error before '}' token
    genGraph.h:52: warning: type defaults to `int' in declaration of `tag_s'
    genGraph.h:52: error: ISO C forbids data definition with no type or storage class
    genGraph.h:56: error: parse error before "GString"
    genGraph.h:56: warning: no semicolon at end of struct or union
    genGraph.h:57: warning: type defaults to `int' in declaration of `asg'
    genGraph.h:57: error: ISO C forbids data definition with no type or storage class
    genGraph.h:59: error: parse error before '}' token
    genGraph.h:59: warning: type defaults to `int' in declaration of `asg_s'
    genGraph.h:59: error: ISO C forbids data definition with no type or storage class
    genGraph.h:66: error: parse error before '*' token
    genGraph.h:67: error: parse error before '*' token
    genGraph.h:68: error: parse error before '*' token
    genGraph.h:72: error: parse error before '*' token
    genGraph.h:72: warning: type defaults to `int' in declaration of `get_asg_list'
    genGraph.h:72: error: ISO C forbids data definition with no type or storage class
    genGraph.h:73: error: parse error before "compare_label_value"
    genGraph.h:73: error: parse error before '*' token
    genGraph.h:73: warning: type defaults to `int' in declaration of `compare_label_value'
    genGraph.h:73: error: ISO C forbids data definition with no type or storage class
    genGraph.h:74: error: parse error before '*' token
    genGraph.h:74: error: parse error before "GSList"
    genGraph.h:74: warning: type defaults to `int' in declaration of `find_string_inside_list'
    genGraph.h:74: error: ISO C forbids data definition with no type or storage class
    genGraph.h:76: error: parse error before '*' token
    genGraph.h:76: error: parse error before '*' token
    genGraph.h:76: warning: type defaults to `int' in declaration of `format_asg_name'
    genGraph.h:76: error: ISO C forbids data definition with no type or storage class
    genGraph.h:77: error: parse error before '*' token
    genGraph.h:78: error: parse error before '*' token
    genGraph.h:79: error: parse error before '*' token
    genGraph.h:80: error: parse error before '*' token
    convertAsg.y:24: error: parse error before '*' token
    convertAsg.y:24: error: parse error before '*' token
    convertAsg.y:24: warning: type defaults to `int' in declaration of `create_tag'
    convertAsg.y:24: error: ISO C forbids data definition with no type or storage class
    convertAsg.y:29: error: parse error before "GString"
    convertAsg.y:29: warning: no semicolon at end of struct or union
    convertAsg.tab.c:149: warning: type defaults to `int' in declaration of `YYSTYPE'
    convertAsg.tab.c:149: error: ISO C forbids data definition with no type or storage class
    convertAsg.tab.c:325: error: parse error before "YYSTYPE"
    convertAsg.tab.c:325: warning: no semicolon at end of struct or union
    convertAsg.tab.c:326: warning: ISO C does not allow extra `;' outside of a function
    convertAsg.tab.c:1029: error: parse error before "YYSTYPE"
    convertAsg.tab.c: In function `yydestruct':
    convertAsg.tab.c:1038: error: `yyvaluep' undeclared (first use in this function)
    convertAsg.tab.c:1038: error: (Each undeclared identifier is reported only once
    convertAsg.tab.c:1038: error: for each function it appears in.)
    _________________________snip______________________________________________________________


    best regards,
    srinivas.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.