Skip to content
Snippets Groups Projects
  1. Sep 24, 2015
  2. Sep 22, 2015
  3. Sep 21, 2015
    • Kyle Manna's avatar
      decode: Fix compiler issue with gcc-5 · e3283e77
      Kyle Manna authored
      * gcc 5.0 and 5.1 appear to take issue with this line and generates the
        following error:
      
          /home/nitro/tmp/nanopb/pb_decode.c: In function ‘pb_decode_noinit’:
          /home/nitro/tmp/nanopb/pb_decode.c:889:60: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
                       fields_seen[iter.required_field_index >> 3] |= (uint8_t)(1 << (iter.required_field_index & 7));
                                                                      ^
      * This seems like a compiler bug, but this workaround is harmless.
      e3283e77
  4. Sep 20, 2015
  5. Sep 13, 2015
  6. Sep 12, 2015
  7. Jul 11, 2015
  8. Jul 01, 2015
  9. Jun 17, 2015
  10. Jun 16, 2015
  11. May 07, 2015
  12. Apr 28, 2015
  13. Apr 10, 2015
  14. Apr 08, 2015
  15. Apr 03, 2015
  16. Mar 22, 2015
  17. Mar 07, 2015
  18. Feb 26, 2015
  19. Feb 22, 2015
Loading