[ 
https://issues.apache.org/jira/browse/AVRO-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp updated AVRO-1940:
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0
           Status: Resolved  (was: Patch Available)

1.9 is using c++11 and now uses enum classes.

> avrogencpp, scoped enums or c++11 enum class
> --------------------------------------------
>
>                 Key: AVRO-1940
>                 URL: https://issues.apache.org/jira/browse/AVRO-1940
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: c++
>            Reporter: Alexander Moriarty
>            Assignee: Alexander Moriarty
>            Priority: Major
>             Fix For: 1.9.0
>
>
> It would be nice if avrogencpp could generated scoped enums.
> Either with C++11 enum class or just adding an additional namespace.
> This sort of relates to the issue I opened a few days ago: #AVRO-1936 in that 
> one way this has been gotten around in the existing AvrogencppTests.cc is by 
> generating one namespace per schema.
> This of course could be a breaking change depending how it is implemented.



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

Reply via email to