1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CC65 compiler error help

Discussion in 'C' started by techme, Apr 16, 2010.

  1. techme

    techme New Member

    Joined:
    Feb 15, 2010
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    hi,

    Using CC65 compiler..

    code:

    while(1) {


    if ( url_ready_flag == 0 ) {
    *(url_host) = 0;
    url_ready(url_host, url_page);
    if (url_host != "") {
    resolv_query(url_host);
    }
    }


    I'm NOT a C language programmer, but I'm learning because the project
    interests me (I'm doing the assembly language)

    what is wrong with the above code?

    if (url_ready_flag == 0) {

    line generates errors:

    ) expected
    expression expected
    statement has no effect
    ; expected

    anyone know whats going on ?
     

Share This Page