[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mixing C and C++?
From: |
Erik de Castro Lopo |
Subject: |
Mixing C and C++? |
Date: |
Fri, 6 Jun 2008 19:25:45 +1000 |
Hi all,
I have an project that uses automake, autoconf and libtool and for one
of the generated binaries, I'm trying to mix C and C++, but automake is
giving me the following error:
tests/Makefile.am: object `cpp_test.$(OBJEXT)' created by `cpp_test.cc'
and `cpp_test.c'
My project does have a cpp_test.cc but does not contain cpp_test.c.
The C++ file has a single public extern "C" function that is called
from the C code.
Any clues? I've tried searching Google, but this error message is
particularly difficult to Google for.
Cheers,
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"C++ is a language strongly optimized for liars and people who
go by guesswork and ignorance." -- Erik Naggum
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Reality is just a crutch for people that can't handle CyberSpace!!"
- Hank Duderstadt
- Mixing C and C++?,
Erik de Castro Lopo <=
- Re: Mixing C and C++?, Ralf Wildenhues, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?, Ralf Wildenhues, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?, Olly Betts, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?, Ralf Wildenhues, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06