Using C functions in C++

Florian Weimer fw@deneb.enyo.de
Sun Aug 31 17:27:00 GMT 2003


<albert@wickywicky.net> writes:

> /tmp/ccrCoGun.o(.text+0x55): In function `KK::utterance_loop()':
> : undefined reference to `ad_read(ad_rec_t*, short*, int)'

Make sure that the functions are declared 'extern "C"'.



More information about the Gcc-help mailing list