xrt: add inttypes.h to xrt_compiler.h

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
This commit is contained in:
Simon Zeni 2024-07-05 09:49:07 -04:00 committed by Rylie Pavlik
parent 6847183cb2
commit 39535666a4
65 changed files with 1 additions and 64 deletions

View file

@ -26,7 +26,6 @@
#include <wil/com.h>
#include <wil/result.h>
#include <inttypes.h>
#include <memory>
#define DEFAULT_CATCH(...) \

View file

@ -22,7 +22,6 @@
#include <wil/com.h>
#include <wil/result.h>
#include <inttypes.h>
#include <memory>
using namespace std::chrono;

View file

@ -26,7 +26,6 @@
#include <wil/com.h>
#include <wil/result.h>
#include <inttypes.h>
#include <memory>
#define DEFAULT_CATCH(...) \

View file

@ -23,7 +23,6 @@
#include <wil/com.h>
#include <wil/result.h>
#include <inttypes.h>
#include <memory>
using namespace std::chrono;

View file

@ -13,7 +13,6 @@
#include "ogl_helpers.h"
#include "ogl_api.h" // IWYU pragma: keep
#include <inttypes.h>
/*!
* Check for OpenGL errors, context needs to be current.

View file

@ -20,7 +20,6 @@
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <inttypes.h>
#include <dbus/dbus.h>

View file

@ -17,7 +17,6 @@
#ifdef XRT_OS_WINDOWS
#include <inttypes.h>
#include <chrono>
extern "C" uint64_t

View file

@ -35,7 +35,6 @@
#include <Hungarian.hpp>
#include <Eigen/Eigen>
#include <opencv2/opencv.hpp>
#include <inttypes.h>
DEBUG_GET_ONCE_LOG_OPTION(psvr_log, "PSVR_TRACKING_LOG", U_LOGGING_WARN)

View file

@ -11,7 +11,6 @@
#include "util/u_trace_marker.h"
#include "util/u_logging.h"
#include <inttypes.h>
/*!
* An @ref xrt_imu_sink splitter.

View file

@ -9,7 +9,6 @@
#include "u_live_stats.h"
#include <inttypes.h>
#include <algorithm>

View file

@ -20,7 +20,6 @@
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
DEBUG_GET_ONCE_LOG_OPTION(log_level, "U_PACING_APP_LOG", U_LOGGING_WARN)
DEBUG_GET_ONCE_FLOAT_OPTION(min_app_time_ms, "U_PACING_APP_MIN_TIME_MS", 1.0f)

View file

@ -19,7 +19,6 @@
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
DEBUG_GET_ONCE_LOG_OPTION(log_level, "U_PACING_COMPOSITOR_LOG", U_LOGGING_WARN)

View file

@ -21,7 +21,6 @@
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
/*

View file

@ -16,7 +16,6 @@
#include <stdio.h>
#include <pthread.h>
#include <inttypes.h>
/*!

View file

@ -17,7 +17,6 @@
#include <assert.h>
#include <limits.h>
#include <inttypes.h>
/*

View file

@ -16,7 +16,6 @@
#include "util/u_debug.h"
#include "util/u_trace_marker.h"
#include <inttypes.h>
#ifdef U_TRACE_PERCETTO

View file

@ -12,7 +12,6 @@
#include "util/u_pretty_print.h"
#include "vk/vk_helpers.h"
#include <inttypes.h>
/*
*

View file

@ -38,7 +38,6 @@
#include <wil/result_macros.h>
#include <assert.h>
#include <inttypes.h>
#include <memory>
#include <stdio.h>
#include <stdlib.h>

View file

@ -37,7 +37,6 @@
#include <wil/result_macros.h>
#include <assert.h>
#include <inttypes.h>
#include <memory>
#include <stdio.h>
#include <stdlib.h>

View file

@ -13,7 +13,6 @@
#include "util/u_logging.h"
#include "util/u_time.h"
#include <inttypes.h>
#define D3D_COMMON_SPEW(log_level, ...) U_LOG_IFL_T(log_level, __VA_ARGS__);

View file

@ -30,7 +30,6 @@
#include "util/u_logging.h"
#include "util/u_trace_marker.h"
#include <inttypes.h>
/*

View file

@ -31,7 +31,6 @@
#include "client/comp_egl_client.h"
#include "client/comp_gl_eglimage_swapchain.h"
#include <inttypes.h>
#ifdef XRT_GRAPHICS_BUFFER_HANDLE_IS_AHARDWAREBUFFER
#include <android/hardware_buffer.h>

View file

@ -23,7 +23,6 @@
#include "client/comp_gl_client.h"
#include "client/comp_gl_memobj_swapchain.h"
#include <inttypes.h>
/*!
* Down-cast helper.

View file

@ -47,7 +47,6 @@
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <inttypes.h>
/*

View file

@ -21,7 +21,6 @@
#include <assert.h>
#include <stdlib.h>
#include <inttypes.h>
/*

View file

@ -8,7 +8,6 @@
* @ingroup comp_main
*/
#include <inttypes.h>
#include "comp_window_direct.h"

View file

@ -17,7 +17,6 @@
#include "main/comp_window_direct.h"
#include <inttypes.h>
/*
*

View file

@ -29,7 +29,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#ifdef XRT_GRAPHICS_SYNC_HANDLE_IS_FD
#include <unistd.h>

View file

@ -27,7 +27,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <errno.h>

View file

@ -31,7 +31,6 @@
#include <fstream>
#include <future>
#include <thread>
#include <inttypes.h>
//! @see euroc_player_playback_config
DEBUG_GET_ONCE_LOG_OPTION(euroc_log, "EUROC_LOG", U_LOGGING_WARN)

View file

@ -37,7 +37,6 @@
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <inttypes.h>
/*!

View file

@ -28,7 +28,6 @@
#include <stdio.h>
#include <time.h>
#include <assert.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "math/m_vec3.h"

View file

@ -17,7 +17,6 @@
*/
#include <asm/byteorder.h>
#include <string.h>
#include <inttypes.h>
#include "rift_s.h"
#include "rift_s_camera.h"

View file

@ -20,7 +20,6 @@
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "math/m_space.h"

View file

@ -26,7 +26,6 @@
#include <stdio.h>
#include <time.h>
#include <assert.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "math/m_vec3.h"

View file

@ -21,7 +21,6 @@
#include <stdio.h>
#include <time.h>
#include <assert.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "math/m_clock_tracking.h"

View file

@ -15,7 +15,6 @@
#include <string.h>
#include <assert.h>
#include <string.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "math/m_space.h"

View file

@ -14,7 +14,6 @@
#include <libusb.h>
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "os/os_threading.h"

View file

@ -23,7 +23,6 @@
#include <assert.h>
#include <stdio.h>
#include <inttypes.h>
#define WMR_SOURCE_STR "WMR Source"

View file

@ -16,6 +16,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
#ifdef _MSC_VER
#include <intrin.h>

View file

@ -22,7 +22,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <inttypes.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>

View file

@ -27,7 +27,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <inttypes.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>

View file

@ -34,7 +34,6 @@
#include "server/ipc_server_interface.h"
#include <stdlib.h>
#include <inttypes.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>

View file

@ -41,7 +41,6 @@
#include "stb_image_write.h"
#include <assert.h>
#include <inttypes.h>
struct camera_window

View file

@ -18,7 +18,6 @@
#include "gui_widget_native_images.h"
#include <assert.h>
#include <inttypes.h>
/*

View file

@ -42,7 +42,6 @@
#include "stb_image_write.h"
#include <assert.h>
#include <inttypes.h>
/*

View file

@ -22,7 +22,6 @@
#include "oxr_subaction.h"
#include <stdio.h>
#include <inttypes.h>
#include "bindings/b_generated_bindings.h"

View file

@ -10,7 +10,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "util/u_trace_marker.h"

View file

@ -10,7 +10,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "util/u_trace_marker.h"

View file

@ -32,7 +32,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
DEBUG_GET_ONCE_BOOL_OPTION(ignore_openxr_version, "OXR_IGNORE_OPENXR_VERSION", false)

View file

@ -20,7 +20,6 @@
#include "oxr_subaction.h"
#include <stdio.h>
#include <inttypes.h>
XrResult
oxr_xrCreateGeometryInstanceFB(XrSession session,

View file

@ -11,7 +11,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "xrt/xrt_compiler.h"

View file

@ -28,7 +28,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
/*

View file

@ -23,7 +23,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
XRAPI_ATTR XrResult XRAPI_CALL

View file

@ -22,7 +22,6 @@
#include "oxr_api_funcs.h"
#include "oxr_api_verify.h"
#include <inttypes.h>
#ifdef OXR_HAVE_MNDX_xdev_space

View file

@ -10,7 +10,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "math/m_api.h"
#include "math/m_mathinclude.h"

View file

@ -10,7 +10,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "oxr_objects.h"
#include "oxr_logger.h"

View file

@ -49,7 +49,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
DEBUG_GET_ONCE_NUM_OPTION(ipd, "OXR_DEBUG_IPD_MM", 63)

View file

@ -35,7 +35,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
/*

View file

@ -11,7 +11,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>
#include "xrt/xrt_device.h"

View file

@ -10,7 +10,6 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <inttypes.h>
#include "util/u_misc.h"
#include "util/u_debug.h"

View file

@ -21,7 +21,6 @@
#include "xrt/xrt_defines.h"
#include <stdio.h>
#include <inttypes.h>
/*

View file

@ -17,7 +17,6 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#define P(...) \

View file

@ -14,7 +14,6 @@
#include <assert.h>
#include <string.h>
#include <libudev.h>
#include <inttypes.h>
#include <linux/hidraw.h>

View file

@ -12,7 +12,6 @@
#include "util/u_handles.h"
#include "ogl/ogl_helpers.h"
#include <inttypes.h>
static void