peter liu created AVRO-1701:
-------------------------------
Summary: warning: comparison between 'const enum
testgen_r::ExampleEnum' and 'const enum testgen::ExampleEnum'
Key: AVRO-1701
URL: https://issues.apache.org/jira/browse/AVRO-1701
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)