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-1383) Unabe to build on Visual Studio 2003 when generated file is huge

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

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

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

> Unabe to build on Visual Studio 2003 when generated file is huge
> ----------------------------------------------------------------
>
>                 Key: AVRO-1383
>                 URL: https://issues.apache.org/jira/browse/AVRO-1383
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.4
>         Environment: Windows VS 2003
>            Reporter: Ramana Suvarapu
>            Priority: Major
>
> Hi,
> This is related to AVRO-1370. Currently C++ code generation produces single file and with lot of inline functions.  If the schema file is huge, it's generating huge header file. When this header file  is used to to build the project, we are getting "object file format limit exceeded : more than 65,279 sections". To fix this problem we had to use /bigobj flag to the project  and this fixed the problem.
> Unfortunately /bigobj is only supported from VS 2005. Prior versions of VS 2005 don't have this flag. 
> Is it possible to split the generated file into multiple parts by class name and it's avro traits code.



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