xiaolu / lz4

Automatically exported from code.google.com/p/lz4
1 stars 1 forks source link

Compiler warning: redefinition of ENCODE_SEQUENCE_NAME macro in lz4hc_encoder.h #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With warnings as errors, gcc-llvm-4.2 on OS X gives a warning about 
redefinition of ENCODE_SEQUENCE_NAME.

It should be #undef-ed at the end of the file the same way ENCODE_SEQUENCE is.

Original issue reported on code.google.com by arseny.k...@gmail.com on 10 May 2013 at 11:56

GoogleCodeExporter commented 9 years ago
Right, thanks Arseny. I'm amazed this warning did not show up in any of my 
compiler settings up to now. Maybe I need to increase the warning level.

Original comment by yann.col...@gmail.com on 11 May 2013 at 9:52

GoogleCodeExporter commented 9 years ago
Corrected into r95

Original comment by yann.col...@gmail.com on 17 May 2013 at 6:46