This is the mail archive of the
mailing list for the GCC project.
FW: Mixing C/C++ code
- From: Robert Wong <rgwong at cs dot ucla dot edu>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 30 Nov 2007 02:12:47 -0800
- Subject: FW: Mixing C/C++ code
I'm a CS student working on a project that mixes C/C++ compiling both with
g++. If you have the time I was hoping you could help. I've described the
problem with some depth here:
Also, I'm a bit unclear on how the: extern "C" / extern "C++" notation
works. If I am using g++ to compile both my C and C++ code...when and which
of these should I use? Also, I read somewhere that I shouldn't use these
externs if I'm on a solaris machine, is that right?
Thank you for your time.