
Functions that are referred to from outside the DLL they are defined in *must* be declared with __declspec(dllexport) in the DLL they are defined in, and with __declspec(dllimport) in the DLL they are used in. If they are looked up dynamically, then they still *must* be declared with __declspec(dllexport). Only functions that are not used outside the DLL they are defined in don't need a __declspec declaration. The *_export defines you removed in the @c sections were there for the latter bit. They could be simplified to e.g. #ifdef·WIN32 #define·XXX_export·extern·__declspec(dllexport) #else #define·XXX_export·extern #endif since these defines will not be used outside the DLL they are defined in. Stefan Manegold wrote:
Dear all,
removing the *_export macro definitions from .c source files seems to have broken M5 compilation on Windows --- I'm busy fixing it by re-adding these definitions in .h header files...
Stefan
On Mon, May 25, 2009 at 05:06:19AM +0200, Testweb Compilation wrote:
copy "lib_streams.lib" "g:\monet\monet.Int.32.32.d.1.28441\MonetDB5\.Int.32.32.d.1-Windows5.1\lib\MonetDB5\lib_streams.lib" The system cannot find the file specified. NMAKE : fatal error U1077: 'copy' : return code '0x1'
http://www.ins.cwi.nl/~monet/permastore/2009-05-25/Stable/install-MonetDB5-I...
CVS committers: manegold@cwi.nl mk@cwi.nl niels@cwi.nl
module maintainers: mk@cwi.nl niels@cwi.nl
An identical error message was detected on the following systems: Int.32.32.d.1-Windows5.1 Mic.32.32.d.1-Windows5.1 Int.64.32.d.1-Windows5.2 Mic.64.32.d.1-Windows5.2 Mic.64.64.d.1-Windows5.2
-- At this time you cannot configure Testing mail, sorry You are receiving this mail because: - you checked in some code on MonetDB5 (Stable) - you are a fixed recipient
-- Sjoerd Mullender