Skip to content
Snippets Groups Projects
Commit 00eef6be authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom:
Browse files

[lint] Replace deprecated headers

Except for header dependency of C source file, all instances of stdint.h are replaced by cstdint.
parent 625f9319
No related branches found
No related tags found
1 merge request!76[meta,cmake] Restructure project and introduce CMake tooling
Pipeline #6708873 passed
#include "MicronDmaInputFilter.h" #include "MicronDmaInputFilter.h"
#include <ctype.h> #include <cctype>
#include <cstring> #include <cstring>
#include <system_error> #include <system_error>
......
#include "OutputByOrbit.h" #include "OutputByOrbit.h"
#include <stdio.h> #include <cstdio>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
#include <string> #include <string>
......
#ifndef OUTPUTBYORBIT_H #ifndef OUTPUTBYORBIT_H
#define OUTPUTBYORBIT_H #define OUTPUTBYORBIT_H
#include <stdint.h>
#include <tbb/pipeline.h> #include <tbb/pipeline.h>
#include <cstdint>
#include <cstdio> #include <cstdio>
#include <string> #include <string>
......
#include "OutputBySize.h" #include "OutputBySize.h"
#include <stdio.h> #include <cstdio>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
#include <string> #include <string>
......
#ifndef OUTPUTBYSIZE_H #ifndef OUTPUTBYSIZE_H
#define OUTPUTBYSIZE_H #define OUTPUTBYSIZE_H
#include <stdint.h>
#include <tbb/pipeline.h> #include <tbb/pipeline.h>
#include <cstdint>
#include <cstdio> #include <cstdio>
#include <string> #include <string>
......
#ifndef BRIL_HISTO_H #ifndef BRIL_HISTO_H
#define BRIL_HISTO_H #define BRIL_HISTO_H
#include <tbb/pipeline.h>
#include <atomic> #include <atomic>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
...@@ -10,7 +12,6 @@ ...@@ -10,7 +12,6 @@
#include <vector> #include <vector>
#include "controls.h" #include "controls.h"
#include <tbb/pipeline.h>
template <typename T> template <typename T>
class BrilHistoQueue { class BrilHistoQueue {
......
#ifndef CONFIG_H #ifndef CONFIG_H
#define CONFIG_H #define CONFIG_H
#include <stdint.h>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include <cstdint>
#include <map> #include <map>
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
......
#ifndef CONTROLS_H #ifndef CONTROLS_H
#define CONTROLS_H #define CONTROLS_H
#include <stdint.h>
#include <atomic> #include <atomic>
#include <cstdint>
#include <string> #include <string>
struct ctrl { struct ctrl {
......
#ifndef FORMAT_H #ifndef FORMAT_H
#define FORMAT_H #define FORMAT_H
#include <math.h> #include <cmath>
#include <stdint.h> #include <cstdint>
struct blockCalo { struct blockCalo {
uint32_t calo0[8]; uint32_t calo0[8];
......
#ifndef SLICE_H #ifndef SLICE_H
#define SLICE_H #define SLICE_H
#include <stdint.h>
#include <tbb/concurrent_queue.h> #include <tbb/concurrent_queue.h>
#include <tbb/scalable_allocator.h> #include <tbb/scalable_allocator.h>
#include <cstdint>
//! Holds a slice of data. //! Holds a slice of data.
class Slice { class Slice {
//! Pointer to one past last filled byte in sequence //! Pointer to one past last filled byte in sequence
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
*/ */
#include <curl/curl.h> #include <curl/curl.h>
#include <limits.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> // TODO: This could eventually be replaced by chrono and thread when we move to a more modern C++ compiler. #include <unistd.h> // TODO: This could eventually be replaced by chrono and thread when we move to a more modern C++ compiler.
#include <climits>
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
......
#ifndef WZ_XDMA_IOCTL_H #ifndef WZ_XDMA_IOCTL_H
#define WZ_XDMA_IOCTL_H 1 #define WZ_XDMA_IOCTL_H 1
#include <stdint.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include "wz-xdma-consts.h" #include "wz-xdma-consts.h"
#include "stdint.h"
// Structures used to notify the application about the received block of data // Structures used to notify the application about the received block of data
// The block always starts at the first descriptor, and may and in the middle // The block always starts at the first descriptor, and may and in the middle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment