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

Jurgis Armanavichius jurgisATmedelkom.com
Fri Sep 17 01:38:00 GMT 1999


Hello,

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

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

typedef unsigned char byte;

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

#ifdef  __cplusplus
}
#endif
///////////////////////// End //////////////////////////////////

Jurgis Armanavichius
Firma MEDELKOM, http://www.medelkom.com



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list