mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
Add missing cstring includes (#4486)
* Modified the fprime-fpp version for fpp branch * Fixes for missing includes * Removed include from Fw/FPrimeBasicTypes.hpp and modified fprime-fpp version * Fixed files that failed to include cstring header * Changed string.h to cstring in BufferRepeater.cpp * Updated formatting in ActivePhaser.cpp & BufferManagerComponentImpl.cpp * Fixed formatting in FpySequencerStack.cpp & FpySequencerDirectives.cpp
This commit is contained in:
parent
9fbf5800ab
commit
a9e05045da
@ -20,6 +20,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
#include <type_traits>
|
||||
|
||||
namespace Drv {
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
static_assert(FW_USE_PRINTF_FAMILY_FUNCTIONS_IN_STRING_FORMATTING,
|
||||
"Cannot use SPI driver without full string formatting");
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
|
||||
namespace Drv {
|
||||
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
// ======================================================================
|
||||
|
||||
#include "Svc/ActivePhaser/ActivePhaser.hpp"
|
||||
#include <cstring>
|
||||
|
||||
namespace Svc {
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
#include <Fw/FPrimeBasicTypes.hpp>
|
||||
#include <Fw/Types/Assert.hpp>
|
||||
#include <Svc/BufferManager/BufferManagerComponentImpl.hpp>
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
|
||||
namespace Svc {
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
|
||||
#include <Fw/FPrimeBasicTypes.hpp>
|
||||
#include <Svc/BufferRepeater/BufferRepeater.hpp>
|
||||
#include <cstring>
|
||||
|
||||
namespace Svc {
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
#include <Fw/Types/Assert.hpp>
|
||||
#include <Svc/CmdDispatcher/CommandDispatcherImpl.hpp>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
// Check the CMD_DISPATCHER_DISPATCH_TABLE_SIZE and CMD_DISPATCHER_SEQUENCER_TABLE_SIZE for overflow
|
||||
static_assert(CMD_DISPATCHER_DISPATCH_TABLE_SIZE <= std::numeric_limits<FwOpcodeType>::max(),
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
#include <Fw/Types/Assert.hpp>
|
||||
#include <Os/File.hpp>
|
||||
#include <Svc/EventManager/EventManager.hpp>
|
||||
#include <cstring>
|
||||
|
||||
namespace Svc {
|
||||
static_assert(std::numeric_limits<FwSizeType>::max() >= TELEM_ID_FILTER_SIZE,
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
#include <Fw/Types/StringUtils.hpp>
|
||||
#include <Svc/FileUplink/FileUplink.hpp>
|
||||
|
||||
#include <cstring>
|
||||
namespace Svc {
|
||||
|
||||
Os::File::Status FileUplink::File ::open(const Fw::FilePacket::StartPacket& startPacket) {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <type_traits>
|
||||
#include "Fw/Com/ComPacket.hpp"
|
||||
#include "Svc/FpySequencer/FpySequencer.hpp"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#include <cstring>
|
||||
#include "Svc/FpySequencer/FpySequencer.hpp"
|
||||
namespace Svc {
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
#include <Svc/PrmDb/PrmDb_PrmDbFileLoadStateEnumAc.hpp>
|
||||
#include <Svc/PrmDb/PrmDb_PrmDbTypeEnumAc.hpp>
|
||||
#include <config/PrmDbImplCfg.hpp>
|
||||
#include <cstring>
|
||||
|
||||
namespace Svc {
|
||||
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
#include <Fw/Com/ComPacket.hpp>
|
||||
#include <Fw/FPrimeBasicTypes.hpp>
|
||||
#include <Svc/TlmPacketizer/TlmPacketizer.hpp>
|
||||
#include <cstring>
|
||||
|
||||
namespace Svc {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user