You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "peter liu (JIRA)" <ji...@apache.org> on 2015/07/29 06:20:04 UTC

[jira] [Assigned] (AVRO-1700) avro_BufferStreambuf_hh__ header guard warning

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

peter liu reassigned AVRO-1700:
-------------------------------

    Assignee: peter liu

> avro_BufferStreambuf_hh__ header guard warning 
> -----------------------------------------------
>
>                 Key: AVRO-1700
>                 URL: https://issues.apache.org/jira/browse/AVRO-1700
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.7
>            Reporter: peter liu
>            Assignee: peter liu
>            Priority: Minor
>
> saw below warning while compiling with g++ 4.2.1 on mac os 10.10.3
> {quote}
> /Users/liuyanbo/git/avro/lang/c++/api/buffer/BufferStreambuf.hh:19:9: warning: 'avro_BufferStreambuf_hh__' is used as a header guard here, followed by #define
>       of a different macro -Wheader-guard
> #ifndef avro_BufferStreambuf_hh__
>         ^~~~~~~~~~~~~~~~~~~~~~~~~
> /Users/liuyanbo/git/avro/lang/c++/api/buffer/BufferStreambuf.hh:20:9: note: 'avro_BufferStreambuf_HH__' is defined here; did you mean
>       'avro_BufferStreambuf_hh__'?
> #define avro_BufferStreambuf_HH__
>         ^~~~~~~~~~~~~~~~~~~~~~~~~
>         avro_BufferStreambuf_hh__
> 1 warning generated
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)