|
From: | Andre Poenitz |
Subject: | Re: Makefile error with c++ and C co-mingled code. |
Date: | Fri, 10 Oct 2008 23:48:33 +0200 |
User-agent: | tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.24-19-generic (i686)) |
emp1953 <edgar.purdy@lmco.com> wrote: > I have a make file that has a bunch of .cpp files and ONE .c file. > It gives the following error on the .c file > > there is a compiler or linker error. Most of the include header files > are either not found or do not exist. > > There as to be a way to co-mingle code here. There are some header > files that are in the c++ code that have function calls that are > needed by the C code. Are those functions marked by extern "C" as in extern "C" int foo(int parameter); or extern "C" { int foo(int parameter); } ? Andre'
[Prev in Thread] | Current Thread | [Next in Thread] |