iamandi / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Patches for compiler compatibility #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached three patches for better compiler compatibility:

-  the __pragma keyword is only supported in fairly recent Microsoft compilers
-  there's no need to #include stdbool.h so often (and doing so is annoying on 
systems that don't have stdbool.h)
-  fix a gcc warning about maybe-uninitialized variables.

I hope these should be uncontroversial, and that you're able simply to apply 
them.

Thanks

David

Original issue reported on code.google.com by david.ho...@googlemail.com on 7 Apr 2013 at 2:46

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, applied.

(0003 didn't apply cleanly for some reason, but I put it in manually.)

Original comment by Petteri.Aimonen on 8 Apr 2013 at 8:02

GoogleCodeExporter commented 9 years ago
Fix released in 0.2.1

Original comment by Petteri.Aimonen on 14 Apr 2013 at 7:19