Home > Software engineering >  MFC compiled ACE appear inconsistent DLL links
MFC compiled ACE appear inconsistent DLL links

Time:09-28

1> D: \ ace_wrappers ace \ \ addr. H (45) : see "get_size" before a definition
1> D: \ ace_wrappers ace \ \ addr. Inl (33) : warning C4273: "ACE_Addr: : set_size" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H (48) : see "set_size" before a definition
1> D: \ ace_wrappers ace \ \ addr. Inl (40) : warning C4273: "ACE_Addr: : get_type" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H (53) : see "get_type" before a definition
1> D: \ ace_wrappers ace \ \ addr. Inl (47) : warning C4273: "ACE_Addr: : set_type" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H (56) : see "set_type" before a definition
1> D: \ ace_wrappers ace \ \ addr. Inl (53) : warning C4273: "ACE_Addr: : hash:" DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H. (79) : see the previous definition of "hash"
1> D: \ ace_wrappers \ ace \ addr CPP (16) : warning C4273: "sap_any" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H. (75) : see "public: static ACE_Addr const ACE_Addr: : sap_any" before a definition of
1> D: \ ace_wrappers \ ace \ addr CPP (16) : error C2491: "ACE_Addr: : sap_any" : the definition of static data members are not allowed to dllimport
1> D: \ ace_wrappers \ ace \ addr CPP (24) : warning C4273: "ACE_Addr: : ACE_Addr" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H (37) : see "{ctor}" the previous definition of
1> D: \ ace_wrappers \ ace \ addr CPP (31) : warning C4273: "ACE_Addr: : ~ ACE_Addr" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H (40) : see "{dtor}" the previous definition of
1> D: \ ace_wrappers \ ace \ addr CPP (36) : warning C4273: "ACE_Addr: : get_addr" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H (59) : see "get_addr" before a definition
1> D: \ ace_wrappers \ ace \ addr CPP (42) : warning C4273: "ACE_Addr: : set_addr" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H. (62) : see "set_addr" before a definition
1> D: \ ace_wrappers \ ace \ addr CPP (49) : warning C4273: "ACE_Addr: : base_set" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H. (72) : see "base_set" before a definition
1> D: \ ace_wrappers \ ace \ addr CPP (56) : warning C4273: "ACE_Addr: : dump" : DLL links inconsistent
1> D: \ ace_wrappers ace \ \ addr. H. (82) : see "dump" the previous definition of


How to solve?

CodePudding user response:

Fyi:
 CD/.../ACE_wrappers 
Gmake - ver
Check the GNU Make version 3.79.1
Vi ace/config. H
According to the I into insert mode change
# include "ace/config - Linux. H"
Press the Esc key to exit insert mode
: wq
Vi include/makeinclude/platform_macros GNU
According to the I into insert mode change
Include $ACE_ROOT)/include/makeinclude/platform_linux GNU
Press the Esc key to exit insert mode
: wq
CD ace
Make

CodePudding user response:

I am a Windows 7 config added that sentence or not
  • Related