Arc Forumnew | comments | leaders | submitlogin
2 points by kinleyd 4641 days ago | link | parent

You are welcome, akkartik, and yes, I'm on a 64-bit system. Here's the info you wanted:

    [kdd@780 wart]$ gdb -q wart_bin
    Reading symbols from /home/kdd/My-Apps/wart/wart_bin...(no debugging symbols found)...done.
    (gdb) p sizeof(int)
    $1 = 4
    (gdb) p sizeof(long)
    $2 = 8
    (gdb) p sizeof(void*)
    $3 = 8


1 point by akkartik 4641 days ago | link

Thanks! On my machine (gcc 4.4.3) I only get that warning for C files, not C++. Weird. What version gcc do you have?

  $ gcc --version

-----

2 points by kinleyd 4641 days ago | link

Also, it seems that error message came up only the first time I ran wart. I haven't seen it in later executions so there's probably no need for any additional concern. :)

-----

1 point by akkartik 4641 days ago | link

It comes up when building the C files. Since you haven't made any changes to the sources since there's no need to rebuild. But you can see it again if you first run:

  $ make clean

-----

2 points by kinleyd 4641 days ago | link

Ah yes, I see that now. So may be something to sweat a bit about, after all. :)

-----

2 points by kinleyd 4641 days ago | link

gcc 4.7.2

-----