help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mangling Stdcall and GCC


From: Paul Pluzhnikov
Subject: Re: Mangling Stdcall and GCC
Date: Mon, 24 Oct 2005 19:21:27 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

ringos75@hotmail.com writes:

> i try to use the following command line :
> mingw32-g++ -c DllTest.cpp DllTest.def
>
> to compile the .cpp source, but i get this error:
> mingw32-g++: DllTest.def: linker input file unused because linking not done

This is not an error, but a warning.
It tells you to remove DllTest.def from the *compile* line, because
.def files only make sense on the *link* line, and are useless at
compile time.

> I don't know if extern "C" have the same effect of __stdcall.

It doesn't. Unlike __stdcall, it has the *correct* effect.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]