You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2005/04/23 01:01:25 UTC

[jira] Created: (XALANC-493) Problem with XALAN_STATIC_CHECK on HP-UX IA64

Problem with XALAN_STATIC_CHECK on HP-UX IA64
---------------------------------------------

         Key: XALANC-493
         URL: http://issues.apache.org/jira/browse/XALANC-493
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: CurrentCVS    
    Reporter: David Bertoni
 Assigned to: David Bertoni 


There is a problem with the definition of the underlying class on this HP platform.  Plus, I believe we can expand the use of this macro, so we should move it to a more general location.

This patch moves the definition of this macro to PlatformDefinitions.hpp for the time being.  If the number of compile-time asserts we use grows, we can move these to a separate file.  Also, I've written it in such a way that it compiles out on release builds, although I'm not sure if that's the right thing to do.

Committers, can you please review the patch?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (XALANC-493) Problem with XALAN_STATIC_CHECK on HP-UX IA64

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-493?page=all ]

David Bertoni updated XALANC-493:
---------------------------------

    Attachment: patch.txt

> Problem with XALAN_STATIC_CHECK on HP-UX IA64
> ---------------------------------------------
>
>          Key: XALANC-493
>          URL: http://issues.apache.org/jira/browse/XALANC-493
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>  Attachments: patch.txt
>
> There is a problem with the definition of the underlying class on this HP platform.  Plus, I believe we can expand the use of this macro, so we should move it to a more general location.
> This patch moves the definition of this macro to PlatformDefinitions.hpp for the time being.  If the number of compile-time asserts we use grows, we can move these to a separate file.  Also, I've written it in such a way that it compiles out on release builds, although I'm not sure if that's the right thing to do.
> Committers, can you please review the patch?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (XALANC-493) Problem with XALAN_STATIC_CHECK on HP-UX IA64

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-493?page=all ]
     
David Bertoni closed XALANC-493:
--------------------------------


> Problem with XALAN_STATIC_CHECK on HP-UX IA64
> ---------------------------------------------
>
>          Key: XALANC-493
>          URL: http://issues.apache.org/jira/browse/XALANC-493
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>      Fix For: CurrentCVS
>  Attachments: patch.txt
>
> There is a problem with the definition of the underlying class on this HP platform.  Plus, I believe we can expand the use of this macro, so we should move it to a more general location.
> This patch moves the definition of this macro to PlatformDefinitions.hpp for the time being.  If the number of compile-time asserts we use grows, we can move these to a separate file.  Also, I've written it in such a way that it compiles out on release builds, although I'm not sure if that's the right thing to do.
> Committers, can you please review the patch?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (XALANC-493) Problem with XALAN_STATIC_CHECK on HP-UX IA64

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-493?page=comments#action_63678 ]
     
David Bertoni commented on XALANC-493:
--------------------------------------

OK, I will modify the patch to enable the assert in release builds as well as debug builds.

> Problem with XALAN_STATIC_CHECK on HP-UX IA64
> ---------------------------------------------
>
>          Key: XALANC-493
>          URL: http://issues.apache.org/jira/browse/XALANC-493
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>  Attachments: patch.txt
>
> There is a problem with the definition of the underlying class on this HP platform.  Plus, I believe we can expand the use of this macro, so we should move it to a more general location.
> This patch moves the definition of this macro to PlatformDefinitions.hpp for the time being.  If the number of compile-time asserts we use grows, we can move these to a separate file.  Also, I've written it in such a way that it compiles out on release builds, although I'm not sure if that's the right thing to do.
> Committers, can you please review the patch?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (XALANC-493) Problem with XALAN_STATIC_CHECK on HP-UX IA64

Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-493?page=comments#action_63596 ]
     
Dmitry Hayes commented on XALANC-493:
-------------------------------------

I agree, it's a good idea to make the assert more common. Probably we should open the macro for the release build too: I'd assume that the user first builds the release version of the library, and only in case of problems, starts the debugging process. It's very probably that all the modern compilers remove unused temporary objects, so the assert wouldn't affect the performance in the release mode.



> Problem with XALAN_STATIC_CHECK on HP-UX IA64
> ---------------------------------------------
>
>          Key: XALANC-493
>          URL: http://issues.apache.org/jira/browse/XALANC-493
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>  Attachments: patch.txt
>
> There is a problem with the definition of the underlying class on this HP platform.  Plus, I believe we can expand the use of this macro, so we should move it to a more general location.
> This patch moves the definition of this macro to PlatformDefinitions.hpp for the time being.  If the number of compile-time asserts we use grows, we can move these to a separate file.  Also, I've written it in such a way that it compiles out on release builds, although I'm not sure if that's the right thing to do.
> Committers, can you please review the patch?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (XALANC-493) Problem with XALAN_STATIC_CHECK on HP-UX IA64

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-493?page=all ]
     
David Bertoni resolved XALANC-493:
----------------------------------

     Resolution: Fixed
    Fix Version: CurrentCVS

> Problem with XALAN_STATIC_CHECK on HP-UX IA64
> ---------------------------------------------
>
>          Key: XALANC-493
>          URL: http://issues.apache.org/jira/browse/XALANC-493
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>      Fix For: CurrentCVS
>  Attachments: patch.txt
>
> There is a problem with the definition of the underlying class on this HP platform.  Plus, I believe we can expand the use of this macro, so we should move it to a more general location.
> This patch moves the definition of this macro to PlatformDefinitions.hpp for the time being.  If the number of compile-time asserts we use grows, we can move these to a separate file.  Also, I've written it in such a way that it compiles out on release builds, although I'm not sure if that's the right thing to do.
> Committers, can you please review the patch?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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