This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
migrating from msvc to gcc
- From: Lars Andersen <lars at rimfaxe dot com>
- To: gcc at gcc dot gnu dot org
- Date: 28 Nov 2002 15:34:31 +0100
- Subject: migrating from msvc to gcc
I have inherited a project, it is a dll made with msvc6.
I want to switch to gcc (of course).
I am using gcc in MinGW.
First of all, isn't there a difference in naming the dll main? It is =
DllMain in msvc, what is it in gcc??
Compiling the dll i get errors like :
=20
-----------------------
ISO C++ forbids declarations of `terminate_function=B4 with no type
ISO C++ forbids declarations of `unexpected_function=B4 with no type
parse error before `;=B4 token
-----------------------
I guess it's about cpp dialect, is there a way to make gcc work with it?
(There's tons .h files, it would take a long time to rewrite them all.)
regards
Lars Andersen