Hi *, I just ran into a conflict in the header files. Both `stdlib.h` and `inttypes.h` define an `ldiv_t` structure and cc65 (current SVN version) stops with an error: bj@s8n:~$ cl65 test.c -o test.prg /usr/local/lib/cc65/include/inttypes.h(59): Error: Multiple definition for `ldiv_t' bj@s8n:~/src/cc65/include$ ack-grep -C 5 ldiv_t stdlib.h 56- 57-/* Return type of the ldiv function (which currently doesn't exist) */ 58-typedef struct { 59- long rem; 60- long quot; 61:} ldiv_t; 62- 63-/* Memory management */ 64-void* __fastcall__ malloc (size_t size); 65-void* __fastcall__ calloc (size_t count, size_t size); 66-void* __fastcall__ realloc (void* block, size_t size); inttypes.h 54- 55-/* Return type of the imaxdiv function (which currently doesn't exist) */ 56-typedef struct { 57- intmax_t rem; 58- intmax_t quot; 59:} ldiv_t; 60- 61- 62-/* Standard functions */ 63-intmax_t __fastcall__ imaxabs (intmax_t val); 64-intmax_t __fastcall__ strtoimax (const char* nptr, char** endptr, int base); Ciao, Marc 'BlackJack' Rintsch -- Beware the Four Horsemen of the Information Apocalypse: terrorists, drug dealers, kidnappers, and child pornographers. Seems like you can scare any public into allowing the government to do anything with those four.” -- Bruce Schneier ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2011-11-05 10:15:02 CET