You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/11 22:29:04 UTC
[jira] [Commented] (AVRO-1700) avro_BufferStreambuf_hh__ header
guard warning
[ https://issues.apache.org/jira/browse/AVRO-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623563#comment-14623563 ]
ASF GitHub Bot commented on AVRO-1700:
--------------------------------------
GitHub user zhutoulala opened a pull request:
https://github.com/apache/avro/pull/41
AVRO-1700 avro_BufferStreambuf_hh__ header guard warning
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhutoulala/avro trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit c069f7997f17c4316f0593a49d8f7bc10d3d6d61
Author: LiuYanbo <li...@liuyanbos-macbook.local>
Date: 2015-07-11T20:25:38Z
AVRO-1700 avro_BufferStreambuf_hh__ header guard warning
----
> 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
> 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)