avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Suvarapu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1383) Unabe to build on Visual Studio 2003 when generated file is huge
Date Tue, 08 Oct 2013 15:07:49 GMT
Ramana Suvarapu created AVRO-1383:
-------------------------------------

             Summary: 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: Avro
          Issue Type: Bug
          Components: c++
    Affects Versions: 1.7.4
         Environment: Windows VS 2003
            Reporter: Ramana Suvarapu


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
(v6.1#6144)

Mime
View raw message