You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "SammiChen (JIRA)" <ji...@apache.org> on 2016/08/17 03:38:21 UTC

[jira] [Commented] (HADOOP-13504) Refactor jni_common to conform to C89 restrictions imposed by Visual Studio 2010

    [ https://issues.apache.org/jira/browse/HADOOP-13504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423813#comment-15423813 ] 

SammiChen commented on HADOOP-13504:
------------------------------------

patch attached

> Refactor jni_common to conform to C89 restrictions imposed by Visual Studio 2010
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-13504
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13504
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: io
>            Reporter: SammiChen
>            Assignee: SammiChen
>         Attachments: HADOOP-13504-v1.patch
>
>
> Piece of code in jni_common declares variables after the first statement in function. This behavior is not allowed in compilers, such as Visual Studio 2010, which only supports C89 C standards. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org