26 Commits

Author SHA1 Message Date
M Starch
0659f0940b
Refactored type organization (#3422)
* Refactored type organization

* Creating better configuration/types header hierarchy

* Replace FpConfig type aliases with FPP generated aliases

* Add the aliases to the FPP model

* Config + Type Aliases builds

* Renamed Fw/Types.h,hpp to Fw/FPrimeBasicTypes.h,hpp

* Updating to FPP-a7

* Adding newline

* sp

* Fixing minor nit from review

* Spurious ;

---------

Co-authored-by: Andrei Tumbar <andrei.tumbar@jpl.nasa.gov>
2025-04-03 12:11:36 -07:00
Rob Bocchino
da11b3a7c5
Improve warning flags in builds (#3319)
* Update fpp version

Add more warnings to FppTest

* Update fpp version

Add warnings to build

* Enable warnings in unit tests

Fix warnings

* Clean up test code

* Update fpp version

Remove workarounds in unit test builds

* Update fpp version

Fix warnings

* Revise DpManager tests

Remove conversion warnings

* Revise DpWriter tests

Remove conversion warnings

* Refactor Hash

Provide a size type to remove dependencies on NATIVE_INT_TYPE,
which is going away.

* Revise top-level CMakeLists.txt

* Fix warnings in Ref

* Fix warnings in Ref, RPI

* Revise warning flags

* Revise code to eliminate warnings

* Revise code to fix warnings

* Revise code to fix warnings

* Revise code to fix warnings

* Revise Serializable.cpp

* Revise Serializable.cpp

* Revise warning flags

* Fix warnings in test code

* Fix warnings

* Fix warnings

* Fix warnings and static analysis errors

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Turn off -Wshadow for unit tests

* Revise comments

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Enable -Wshadow for main ut builds

* Revise compile options

* Remove commented-out code

* Update STest

Eliminate warnings

* Fix warning

* Fix warnings

* Fix warning

* Fix warning

* Fix warning

* Revise comments

* Revise static cast expression

* Cast return type to void

* Remove unneeded cast

* Fix warnings that appear on the F Prime dev machine

* Fix more warnings

* Enable more warnings

* Update fpp version

* Remove commented-out compiler flags

* Enable warning flag in CmdDispatcher

* Disable -Wconversion in gtest

* Revise compiler warning flags

* Revise compiler options

* Revise compiler flags

* Revise compiler flags

* Revise compiler flags

* Revise compiler flags

* Revise Buffer

* Fix comments

* Fix warning flags

* Fix compiler warning flags

* Fix compiler warnings

* Fix compiler warning flags

* Fix compiler warnings

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Revise compiler warning flags

* Restore deleted test

* Fixing UT_TARGET collision

---------

Co-authored-by: Robert L Bocchino <bocchino@fprime-fsw-0.jpl.nasa.gov>
Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
Co-authored-by: M Starch <LeStarch@googlemail.com>
2025-03-12 12:04:43 -07:00
Johan Bertrand
7bb161f2d4
Fix double-promotion in fprime codebase (#2818) 2024-08-15 18:55:18 -07:00
Thomas Boyer-Chammard
0fe467c6e2
Add -Wno-format-truncation to root project (#2719)
* Remove BUILD_TYPE=Release

* Add -Wno-format-truncation

* Only push to docs branch if from devel branch

* Only when not clang

* lock gcc version

* Lock to GCC and remove extra stuff

* debugging

* more debugging...

* Revert changes to autodocs CI

* Don't use -Wno-format-truncation when using clang-tidy
2024-05-20 17:08:16 -07:00
Johan Bertrand
d5181219d0
Fixed conversion warnings on framework tests (#2606)
---------

Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2024-04-29 18:39:20 -07:00
M Starch
9f5b364526
Fixes #2602; bumps required version to 3.16 (#2617) 2024-03-26 10:57:39 -07:00
Johan Bertrand
d4473e93f8
Add shadow variable and pedantic warnings (#2544)
* Add shadow variable and pedantic warnings

* Fix warnings from CI

* Fix failing unit tests
2024-03-01 09:15:31 -08:00
Johan Bertrand
f0f19baafb
Fix shadow variables (#2482)
* Fixed shadow warnings from Fprime

* Fix unit tests

* Fix missing shadow warnings

* Fix condition in cmake

* Fix cmake

* Fixes from review

* Fixed mistake in PathName

* Fixing comment

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2024-02-01 10:18:10 -08:00
Johan Bertrand
7d13cbd8b8
Fix pedantic warnings (#2441)
* Fix macro pedantic warning

* Fixed pedantic warnings
2024-01-04 17:02:36 -08:00
M Starch
7e7f0a37ad lestarch: removing leak sanitizer as it breaks on macOS 2021-10-21 14:01:04 -07:00
M Starch
e921d99e69 lestarch: removing -static-lib*san altogether 2021-10-21 12:09:59 -07:00
M Starch
15a321d835 lestarch: fixing versioned check for gcc libsan 2021-10-21 11:34:29 -07:00
M Starch
1f44453b53 lestarch: fixing -static-libasan -static-libsan issue with gcc 10 2021-10-21 10:50:23 -07:00
M Starch
d39c89e653 lestarch: fixing leakcheck/valgrind collision and associated errors 2021-10-21 10:15:20 -07:00
M Starch
e9507e0788 mstarch: fixing CI errors 2021-10-04 11:39:48 -07:00
Joshua Anderson
62d3b6ee10 Compile test project with pedantic 2021-09-29 09:01:52 -07:00
Joshua Anderson
30e43abb9d Various: Convert C style casts to C++ style casts 2021-09-16 15:35:13 -07:00
Joshua Anderson
dd01a4859e Enable AddressSanitizer on CI builds 2021-06-30 08:51:28 -07:00
Joshua Anderson
9d57d91794 Compile root cmake project with -Wextra 2021-06-22 08:19:55 -07:00
Joshua Anderson
d0938b4aa2
cmake: Only disable -Wstringop-truncation on GCC
This is a GCC only warning and it was causing Apple Clang to complain
it was an unknown warning.
2020-12-03 18:31:35 -08:00
Joshua Anderson
7888701729
Fix GCC Compiler Warnings
I also enable '-Wall -Werror' on the root fprime project, which is only used
by CI and fprime developers to ensure that compiler warnings aren't accidentally
introduced in the future
2020-12-01 17:49:42 -08:00
Michael D Starch
9417a8e412 mstarch: purge and in-deployment builds 2019-10-31 16:21:03 -07:00
jishii
674db7a0a1 Temporary upload of cmake test build for reference 2019-06-20 10:14:03 -07:00
Michael D Starch
cfbbc05be4 mstarch: cmake build type TESTING added to handle UTs 2019-06-11 19:26:07 -07:00
Michael D Starch
3966466223 mstarch: splitting FPrime.cmake into 2 parts, allowing custom targets 2019-05-01 16:38:27 -07:00
M Starch
108f2e7c5a mstarch: initial migration of @campuzan's CMake 2019-02-20 12:34:37 -08:00