To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=41620
Issue #:|41620
Summary:|vcl/source/gdi/animate.cxx: definition of dllimport
|static data member not allowed
Component:|porting
Version:|current
Platform:|All
URL:|
OS/Version:|Windows 2003
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P1
Subcomponent:|code
Assigned to:|dv
Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Sat Jan 29 23:33:41 -0800
2005 -------
Hi,
while compiling module vcl with .NET2003:
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(101) :
warning C4273: 'mnAnimCount' : inconsistent dll linkage
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(101) :
error C2491: 'Animation::mnAnimCount' : definition of dllimport static data
member not allowed
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(108) :
warning C4273: 'AnimationBitmap::GetChecksum' : inconsistent dll linkage
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(140) :
warning C4273: 'Animation::Animation' : inconsistent dll linkage
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(156) :
warning C4273: 'Animation::Animation' : inconsistent dll linkage
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(179) :
warning C4273: 'Animation::~Animation' : inconsistent dll linkage
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\animate.cxx(197) :
warning C4273: 'Animation::operator`='' : inconsistent dll linkage
Only the second one is error. But the amount of "inconsistent dll linkage" is
also alarming and applies to many files in module vcl.
The same is in opengl.cxx:
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\opengl.cxx(392) :
warning C4273: 'mbNoOGL' : inconsistent dll linkage
e:\home\pavel\BuildDir\ooo_SRC680_m75_src\vcl\source\gdi\opengl.cxx(392) : error
C2491: 'OpenGL::mbNoOGL' : definition of dllimport static data member not
allowed
These two are the only statics declared in inc/* (I removed comments there):
[EMAIL PROTECTED]:~/.ooo/ooo_SRC680_m75_src/vcl> grep static inc/*|grep -v "("
inc/animate.hxx: SAL_DLLPRIVATE static ULONG
mnAnimCount;
inc/opengl.hxx: static BOOL mbNoOGL;
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]