Problem with project contained mixed C and C++ sources solved

Jurgis Armanavichius
Fri Sep 17 01:38:00 GMT 1999


Many thanks for all peoples who helped me. 
The problem was simple solved by using the 
extern "C" { } construction.

///////////////////////// Begin ///////////////////////////////
#ifdef  __cplusplus
extern "C" {

typedef unsigned char byte;

void CRC_init(void);
void CRC_byte(byte byt);

#ifdef  __cplusplus
///////////////////////// End //////////////////////////////////

Jurgis Armanavichius

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list