-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CMake: add compiler warnings Currently, no compiler warnings are active at all, which is absolutely not recommended. Warnings can uncover bugs, but also wrong intentions. Add "-Wall", but silence warnings for unused functions, as the generated interface implementations are full of them, as they serve as libraries. * API: avoid warnings Re-order an initialization list. * Auth: avoid warnings Re-order an initialization list. Drop assignment of an unused return value. * DPM1000: avoid warnings Drop assignment of an unused return value. * EvseManager: avoid warnings Re-order an initialization list. * Example, ExampleUser: avoid warnings by regenerating using ev-cli * OCPP201: hint at enum warning causes * OCPPExtensionExample: avoid warnings * PacketSniffer: avoid warnings by regenerating using ev-cli * PersistentStore: avoid warnings by regenerating using ev-cli * PN532TokenProvider: avoid warnings by regenerating using ev-cli * PN532TokenProvider: avoid warnings * Setup: avoid warnings Drop unused variable. * Store: avoid warnings by regenerating using ev-cli * lib/staging/slac: avoid warnings by using modern iterator Signed-off-by: Moritz Barsnick <[email protected]> * Add EVEREST_COMPILE_OPTIONS list that is passed to the module targets if EVEREST_ENABLE_COMPILE_WARNINGS is set to "ON" By default EVEREST_ENABLE_COMPILE_WARNINGS is set to OFF Signed-off-by: Kai-Uwe Hermann <[email protected]> * EnergyManager: avoid warnings Re-order an initialization list. Use suggested brackets. Use valid loop index types. * EnergyNode: avoid warnings Use suggested brackets. * SerialCommHub: avoid warnings Fix incorrect intent of `<<` stream vs. fmt::format. * ExampleErrorRaiser: avoid warnings Use valid loop index types. Signed-off-by: Moritz Barsnick <[email protected]> * Add EVEREST_ENABLE_GLOBAL_COMPILE_WARNINGS option With this option (set to OFF by default) you can globally enable the compile warnings set in the EVEREST_COMPILE_OPTIONS variable * Handle Unknown SessionInfo State in API module * Explicitly fallthrough SessionEventEnums in AuthHandler These are not handled by design * Handle MutexDescription Undefined in EvseManager scoped_lock to_string() * Iterate over tx_start_stop_points with const ref * Enable compile warnings in compile.sh * Fix some more compiler warnings * Add missing newline Signed-off-by: Kai-Uwe Hermann <[email protected]> --------- Signed-off-by: Moritz Barsnick <[email protected]> Signed-off-by: Kai-Uwe Hermann <[email protected]> Co-authored-by: Kai-Uwe Hermann <[email protected]> Co-authored-by: Piet Gömpel <[email protected]>
- Loading branch information
1 parent
b456380
commit a874d21
Showing
33 changed files
with
114 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.