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

peter liu updated AVRO-1700:
----------------------------
    Description: 
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}

> 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)

Reply via email to