Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.24 fails to build with -Werror #416

Closed
GoogleCodeExporter opened this issue Nov 5, 2015 · 2 comments
Closed

1.4.24 fails to build with -Werror #416

GoogleCodeExporter opened this issue Nov 5, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Try to compile

What is the expected output? What do you see instead?

Expected compile to succeed.

What version of the product are you using? On what operating system?
1.4.24

Please provide any additional information below.

items.c:1141:28: error: comparison of constant 256 with expression of type 
'uint8_t' (aka 'unsigned char') is always true 
[-Werror,-Wtautological-constant-out-of-range-compare]
    assert(it->slabs_clsid < LARGEST_ID);
           ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/usr/include/assert.h:54:21: note: expanded from macro 'assert'
#define assert(e)       ((e) ? (void)0 : __assert(__func__, __FILE__, \
                          ^
1 error generated.


Full log available of course.

Original issue reported on code.google.com by steve.wi...@gmail.com on 27 Jun 2015 at 6:06

@GoogleCodeExporter
Copy link
Author

Here's the full log

Original comment by steve.wi...@gmail.com on 27 Jun 2015 at 6:07

Attachments:

@GoogleCodeExporter
Copy link
Author

weird. wonder why the clang fix didn't get that one... it's the same.

I've fixed this in the 'next' branch, thanks.

Original comment by dorma...@rydia.net on 5 Jul 2015 at 1:12

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant