avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Blue (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1700) avro_BufferStreambuf_hh__ header guard warning
Date Wed, 26 Aug 2015 21:42:46 GMT

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

Ryan Blue commented on AVRO-1700:
---------------------------------

[~peter_liu], for attributing the contribution, is this your github account? https://github.com/zhutoulala

> 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
>             Fix For: 1.8.1
>
>         Attachments: AVRO-1700.1.patch
>
>
> 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)

Mime
View raw message