You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Bruce Mitchener (JIRA)" <ji...@apache.org> on 2010/03/02 12:07:27 UTC

[jira] Created: (AVRO-443) Endianness is determined at configure time rather than compile time

Endianness is determined at configure time rather than compile time
-------------------------------------------------------------------

                 Key: AVRO-443
                 URL: https://issues.apache.org/jira/browse/AVRO-443
             Project: Avro
          Issue Type: Sub-task
          Components: c
            Reporter: Bruce Mitchener


configure.in includes:
AC_C_BIGENDIAN

That will define (or not) WORDS_BIGENDIAN ... which is used in src/encoding_binary.c

That can be replaced with some compile-time checks ... I can submit a patch if necessary, let me know.


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


[jira] Updated: (AVRO-443) Endianness is determined at configure time rather than compile time

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Mitchener updated AVRO-443:
---------------------------------

    Attachment: avro_endian.diff

The attached patch should resolve this.


> Endianness is determined at configure time rather than compile time
> -------------------------------------------------------------------
>
>                 Key: AVRO-443
>                 URL: https://issues.apache.org/jira/browse/AVRO-443
>             Project: Avro
>          Issue Type: Sub-task
>          Components: c
>            Reporter: Bruce Mitchener
>         Attachments: avro_endian.diff
>
>
> configure.in includes:
> AC_C_BIGENDIAN
> That will define (or not) WORDS_BIGENDIAN ... which is used in src/encoding_binary.c
> That can be replaced with some compile-time checks ... I can submit a patch if necessary, let me know.

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


[jira] Assigned: (AVRO-443) Endianness is determined at configure time rather than compile time

Posted by "Matt Massie (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Massie reassigned AVRO-443:
--------------------------------

    Assignee: Matt Massie

> Endianness is determined at configure time rather than compile time
> -------------------------------------------------------------------
>
>                 Key: AVRO-443
>                 URL: https://issues.apache.org/jira/browse/AVRO-443
>             Project: Avro
>          Issue Type: Sub-task
>          Components: c
>            Reporter: Bruce Mitchener
>            Assignee: Matt Massie
>         Attachments: avro_endian.diff
>
>
> configure.in includes:
> AC_C_BIGENDIAN
> That will define (or not) WORDS_BIGENDIAN ... which is used in src/encoding_binary.c
> That can be replaced with some compile-time checks ... I can submit a patch if necessary, let me know.

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


[jira] Resolved: (AVRO-443) Endianness is determined at configure time rather than compile time

Posted by "Matt Massie (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Massie resolved AVRO-443.
------------------------------

    Resolution: Fixed

Thanks for the patch, Bruce.  Committed to trunk now.

> Endianness is determined at configure time rather than compile time
> -------------------------------------------------------------------
>
>                 Key: AVRO-443
>                 URL: https://issues.apache.org/jira/browse/AVRO-443
>             Project: Avro
>          Issue Type: Sub-task
>          Components: c
>            Reporter: Bruce Mitchener
>            Assignee: Matt Massie
>         Attachments: avro_endian.diff
>
>
> configure.in includes:
> AC_C_BIGENDIAN
> That will define (or not) WORDS_BIGENDIAN ... which is used in src/encoding_binary.c
> That can be replaced with some compile-time checks ... I can submit a patch if necessary, let me know.

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


[jira] Updated: (AVRO-443) Endianness is determined at configure time rather than compile time

Posted by "Matt Massie (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Massie updated AVRO-443:
-----------------------------

    Assignee:     (was: Matt Massie)

> Endianness is determined at configure time rather than compile time
> -------------------------------------------------------------------
>
>                 Key: AVRO-443
>                 URL: https://issues.apache.org/jira/browse/AVRO-443
>             Project: Avro
>          Issue Type: Sub-task
>          Components: c
>            Reporter: Bruce Mitchener
>         Attachments: avro_endian.diff
>
>
> configure.in includes:
> AC_C_BIGENDIAN
> That will define (or not) WORDS_BIGENDIAN ... which is used in src/encoding_binary.c
> That can be replaced with some compile-time checks ... I can submit a patch if necessary, let me know.

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


[jira] Commented: (AVRO-443) Endianness is determined at configure time rather than compile time

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840295#action_12840295 ] 

Doug Cutting commented on AVRO-443:
-----------------------------------

Bruce, a patch would be best, even if it's trivial.

> Endianness is determined at configure time rather than compile time
> -------------------------------------------------------------------
>
>                 Key: AVRO-443
>                 URL: https://issues.apache.org/jira/browse/AVRO-443
>             Project: Avro
>          Issue Type: Sub-task
>          Components: c
>            Reporter: Bruce Mitchener
>
> configure.in includes:
> AC_C_BIGENDIAN
> That will define (or not) WORDS_BIGENDIAN ... which is used in src/encoding_binary.c
> That can be replaced with some compile-time checks ... I can submit a patch if necessary, let me know.

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