When I try to use the McBSP code from inside a .cpp file, I get lots of the following errors : [aic11.cpp] "c:/ti/c5400/bios/include/csl_mcbsphal.h", line 79: warning: incompatible redefinition of macro "CSLAPI" (declared at line 36 of "c:/ti/c5400/bios/include/csl_irq.h") "c:/ti/c5400/bios/include/csl_mcbsp.h", line 48: warning: incompatible redefinition of macro "CSLAPI" (declared at line 79 of "c:/ti/c5400/bios/include/csl_mcbsphal.h") "c:/ti/c5400/bios/include/csl_mcbsp.h", line 1054: error: use of a type with no linkage to declare a function "c:/ti/c5400/bios/include/csl_mcbsp.h", line 1056: error: use of a type with no linkage to declare a function .. snip more of the same 35 errors detected in the compilation of "aic11.cpp". If I change the file to a .c file, the messages disappear. Anyone ever seen this and/or know what the fix/workaround is? TIA, Carl Chipman Nomadics, Inc. http://www.nomadics.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/2002 |
Weird error message
Started by ●January 10, 2002