fachat / xa65

6502/65816 cross assembler
http://www.floodgap.com/retrotech/xa/
55 stars 8 forks source link

Conflicting function getline() of xa and stdio #1

Closed m-butti closed 4 years ago

m-butti commented 11 years ago

If I try to compile right away on Mac OS 10.8.4 I get this error:

xa.c:95: error: conflicting types for ‘getline’ /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here

The solution is pretty simple. Just renamed the getline() function in xa so it doesn't conflict with the same named function of stdio.

Thank you very much. I really like this piece of software :-)

fachat commented 11 years ago

Thanks for noting this. Which version did you try? the HEAD (master) or a branch?

m-butti commented 11 years ago

Yep, the master (about 95% sure :-)). I downloaded listing today with the same error.

fachat commented 4 years ago

fixed in 2.3.9