This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Compiler warning


I get the following warning from the compiler and I dont know why:

../../../ALibBase/APlatform.hpp:45: warning: inconsistent dll linkage
for `class APlatform APlatform
::platform'. dllexport assumed.

This header contains this class:

class ALIBIMPEXP APlatform
{
   public:
	//...
   protected:
      static APlatform                          platform;

   private:
	//...
};

ALIBIMPEXP is defined as __declspec (dllimport) while compiling. 

Is this warning harmfull, can it be avoided??

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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