Hi,

You may be using Xalan's export macros for your class or function
definitions.  Or, you may have preprocessor definitions from Xalan's
project files.

Make sure you are not using any of the export macros on your class
definitions or functions.  These macros look like this:

   XALAN_DOMSUPPORT_EXPORT

Also, make sure you do not have any of the following defines in your
project settings:

   XALAN_DOMSUPPORT_BUILD_DLL,
   XALAN_XSLT_BUILD_DLL,
   XALAN_PLATFORMSUPPORT_BUILD_DLL
   XALAN_DOM_BUILD_DLL
   XALAN_XALANEXTENSIONS_BUILD_DLL
   XALAN_XALANSOURCETREE_BUILD_DLL
   XALAN_TRANSFORMER_BUILD_DLL
   XALAN_XERCESPARSERLIAISON_BUILD_DLL
   XALAN_XMLSUPPORT_BUILD_DLL
   XALAN_XPATH_BUILD_DLL
   XALAN_XPATHCAPI_BUILD_DLL
   XALAN_ALLINONE_BUILD_DLL
   XALAN_EXSLT_BUILD_DLL

If you don't understand all of the details regarding exporting and
importing symbols, you should read the documentation that ships with VC++.

Dave



|---------+--------------------------->
|         |           "Ian Warner"    |
|         |           <[EMAIL PROTECTED]|
|         |           .com>           |
|         |                           |
|         |           05/11/2004 02:38|
|         |           PM              |
|         |           Please respond  |
|         |           to xalan-dev    |
|---------+--------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                           |
  |        To:      <[EMAIL PROTECTED]>                                                
                                    |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                               
                                           |
  |        Subject: Compile error -inconsistent dll linkage                            
                                           |
  
>-------------------------------------------------------------------------------------------------------------------------------|



Hi,

does anyone know why I get these warnings when I try to compile my Xalan
implementation class?

warning C4273: 'execute' : inconsistent dll linkage.  dllexport assumed
warning C4273: 'getError' : inconsistent dll linkage.  dllexport assumed
warning C4273: 'clone' : inconsistent dll linkage.  dllexport assumed

I'm using VC++ sp5 on Windows 2003 server with Xerces2_5 and Xalan1_8

The program links but I get "Program too big to fit in memory'  when I run
it.
It's only 2500 lines so I am assuming I need to clean up the above warnings
- note - It works fine under unix

Any ideas?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to