Re: gint32



On Sun, May 13, 2001 at 11:57:32AM +0200, Clemens Kirchgatterer wrote:
Brooklyn Linux Solutions CEO wrote:


int main(gint32 argc, gchar ** argv){

if(argc < 2){
        g_print("Two integers are needed to work this\n");
        exit(1);
}

#PARSE ERROR ON THIS LINE
gint32 a = -5;

[...]

ansi c also allows deklarations only at the beginning of a block.

regards ...
clemens

According to the new standard, that is no longer true.
Good luck finding a C99 compiler, though.

mike
-- 
___________________________________________________________
 
"POKEY REGARD!!! J'AI INVENTE LE CIRCUIT PRINCIPAL
        DU DRAGON!!!"
        - Little Girl from "LE CIRCUIT PRINCIPAL DU DRAGON"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]