#59 Compile glitches with gcc

open
nobody
5
2012-03-18
2012-03-18
No

I compiled netcat for AIX 5.3 using GCC 4.6. I put a typecast on the getsockname calls (sockllen_t *) to avoid warnings and had to change each occurrence of "rem_addr" because it seems to conflict with a gcc keyword. A change to "rmt_adr" worked fine in files core.c and network.c.

The rem_addr problem is a trap for young players who have not come up against similar conflicts with gcc in the past.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks