Re: [PATCH] files-backend.c: fix build error on Solaris
- From
Carlo Arenas <carenas@gmail.com>
- Date
- Nov 25, 2018, 10:19 UTC
- Message-ID
- <CAPUEsphe9eXk8zLE35iRq-M9a-tukj8APQ0gHzR6PHfNZNLxLA@mail.gmail.com>
- In-Reply-To
- <20181125045816.12185-1-pclouds@gmail.com>
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
clang with -Wpedantic also catch this (at least with Apple LLVM version 10.0.0); recent versions of gcc also include that flag and at least 8.2.0 shows a warning for it, so it might be worth adding it to developer mode (maybe under the pedantic DEVOPTS), would this be something I should be adding?, what are the expectations around warnings and compilers?
Carlo