This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mixing libraries in C and C++
- To: "Alberto Faraldos Izquierdo" <alberto dot faraldos at sema dot es>
- Subject: Re: Mixing libraries in C and C++
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 22 Jun 2001 11:21:45 +0200
- Cc: gcc-help at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <3B3308AC.B6890BFA@sema.es>
"Alberto Faraldos Izquierdo" <alberto.faraldos@sema.es> writes:
| link all these libraries and the main program written in C with GCC, it
If you're mixing C and C++, main() should be written in C++.
-- Gaby