[
https://issues.apache.org/jira/browse/HADOOP-11536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kiran Kumar M R updated HADOOP-11536:
-------------------------------------
Attachment: HADOOP-11536.patch
VC++ SAL annotations seem to available only in enterprise edition.
So not adding any format validations in WINDOWS.
Defining macro {code}TYPE_CHECKED_PRINTF_FORMAT{code} and stubbing it on
windows. This is similar to approach taken for exception.h in HDFS native.
Since {{__attribute__}} is specific to gcc its defined under {{#ifdef __GNUC__}}
> exception.h is not compiling on windows. Has gcc specific __attribute__ format
> ------------------------------------------------------------------------------
>
> Key: HADOOP-11536
> URL: https://issues.apache.org/jira/browse/HADOOP-11536
> Project: Hadoop Common
> Issue Type: Bug
> Components: native
> Affects Versions: 3.0.0, 2.2.0
> Environment: Windows 8.1 64bit with Visual Studio Express 2013
> Reporter: Kiran Kumar M R
> Assignee: Kiran Kumar M R
> Fix For: 3.0.0
>
> Attachments: HADOOP-11536.patch
>
>
> exception.h was not included in any C/C++ file, so it was not getting
> compiled on windows till now.
> Fix for issue HADOOP-11403 has modified NativeIO.c to include exception.h
> So compilation on windows is failing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)