You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2018/11/13 02:13:00 UTC

[jira] [Commented] (AVRO-1133) Build failing with Visual Studio C++ 2008 due to missing stdint.h

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

Thiruvalluvan M. G. commented on AVRO-1133:
-------------------------------------------

VS 2008 is ten years old. Do we need to address this issue? Is there any objection if we close this issue as 'WONTFIX'?

> Build failing with Visual Studio C++ 2008 due to missing stdint.h
> -----------------------------------------------------------------
>
>                 Key: AVRO-1133
>                 URL: https://issues.apache.org/jira/browse/AVRO-1133
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.1
>         Environment: Windows XP Professional 32-bit SP3, Microsoft Visual Studio 2008 SP1
>            Reporter: Laurent Moss
>            Priority: Major
>
> Several Avro C++ API files refer to stdint.h. However, this file is not available on Microsoft Visual Studio 2008 (and previous versions). This results in several build errors such as:
> C:\workspace\avro-cpp\api\Validator.hh(24) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
> This is similar to an issue previously faced by the Avro C API:
> https://issues.apache.org/jira/browse/AVRO-551
> This was issue was fixed in the Avro C API by integrating open-source ISO C9x compliant stdint.h and inttypes.h files for Microsoft Visual Studio:
> https://code.google.com/p/msinttypes/
> An alternative for the Avro C++ API would be to replace references to stdint.h by references to Boost's cstdint.hpp
> http://www.boost.org/doc/libs/1_50_0/boost/cstdint.hpp



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)