You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Meena Vyas (JIRA)" <xe...@xml.apache.org> on 2009/06/18 10:16:08 UTC

[jira] Created: (XERCESC-1874) include files generated by 32 bit and 64 bit are different

include files generated by 32 bit and 64 bit are different
----------------------------------------------------------

                 Key: XERCESC-1874
                 URL: https://issues.apache.org/jira/browse/XERCESC-1874
             Project: Xerces-C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.0.1
         Environment: OpenSolaris (but it doesn't matter)
            Reporter: Meena Vyas


$diff -r 64/include//xercesc/util/Xerces_autoconf_config.hpp 32/include/xercesc/util/Xerces_autoconf_config.hpp
64c64
< #define XERCES_SIZEOF_LONG 8
---
> #define XERCES_SIZEOF_LONG 4

I can not give different include paths. It has to be /usr/local/include. for libarries it would be /usr/local/lib and  /usr/local/lib/64 for 32 bit and 64 bit respectively.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1874) include files generated by 32 bit and 64 bit are different

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1874:
-------------------------------------

    Fix Version/s: 3.1.0

We should try to resolve this for 3.1.0

> include files generated by 32 bit and 64 bit are different
> ----------------------------------------------------------
>
>                 Key: XERCESC-1874
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1874
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: OpenSolaris (but it doesn't matter)
>            Reporter: Meena
>             Fix For: 3.1.0
>
>
> $diff -r 64/include//xercesc/util/Xerces_autoconf_config.hpp 32/include/xercesc/util/Xerces_autoconf_config.hpp
> 64c64
> < #define XERCES_SIZEOF_LONG 8
> ---
> > #define XERCES_SIZEOF_LONG 4
> I can not give different include paths. It has to be /usr/local/include. for libarries it would be /usr/local/lib and  /usr/local/lib/64 for 32 bit and 64 bit respectively.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1874) include files generated by 32 bit and 64 bit are different

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725894#action_12725894 ] 

Boris Kolpackov commented on XERCESC-1874:
------------------------------------------

Hm, I see where you are coming from and I wonder how we can fix this in the current framework. Xerces_autoconf_config.hpp is generated by autoconf and is generally needed in Xerces-C++ headers, not just .cpp files (e.g., XMLSize_t is used in many interfaces). While in your case the difference is only in one place, theoretically it can be in other places as well. I wonder how other software packages resolve this issue...

> include files generated by 32 bit and 64 bit are different
> ----------------------------------------------------------
>
>                 Key: XERCESC-1874
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1874
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: OpenSolaris (but it doesn't matter)
>            Reporter: Meena
>
> $diff -r 64/include//xercesc/util/Xerces_autoconf_config.hpp 32/include/xercesc/util/Xerces_autoconf_config.hpp
> 64c64
> < #define XERCES_SIZEOF_LONG 8
> ---
> > #define XERCES_SIZEOF_LONG 4
> I can not give different include paths. It has to be /usr/local/include. for libarries it would be /usr/local/lib and  /usr/local/lib/64 for 32 bit and 64 bit respectively.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1874) include files generated by 32 bit and 64 bit are different

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1874.
------------------------------------

    Resolution: Fixed
      Assignee: Boris Kolpackov

Fix is in SVN. I have removed the XERCES_SIZEOF_* macros from the headers which should help on all sensible platforms.

> include files generated by 32 bit and 64 bit are different
> ----------------------------------------------------------
>
>                 Key: XERCESC-1874
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1874
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: OpenSolaris (but it doesn't matter)
>            Reporter: Meena
>            Assignee: Boris Kolpackov
>             Fix For: 3.1.0
>
>
> $diff -r 64/include//xercesc/util/Xerces_autoconf_config.hpp 32/include/xercesc/util/Xerces_autoconf_config.hpp
> 64c64
> < #define XERCES_SIZEOF_LONG 8
> ---
> > #define XERCES_SIZEOF_LONG 4
> I can not give different include paths. It has to be /usr/local/include. for libarries it would be /usr/local/lib and  /usr/local/lib/64 for 32 bit and 64 bit respectively.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org