This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]